mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
msgbox: remove duplicated code
Origin commit data
------------------
Branch: ni/coolstream
Commit: c3ab1b91d8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-03-04 (Sat, 04 Mar 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Michael Liebmann
parent
56ddedaa39
commit
c7de70d0c7
@@ -279,14 +279,11 @@ int CMsgBox::exec()
|
||||
//***navi buttons for button selection***
|
||||
else if(msg == CRCInput::RC_right || msg == CRCInput::RC_left)
|
||||
{
|
||||
if (msg == CRCInput::RC_right) {
|
||||
if (msg == CRCInput::RC_right)
|
||||
ccw_footer->setSelectedButton(selected+1);
|
||||
mb_show_button = ccw_footer->getSelectedButtonObject()->getButtonAlias();
|
||||
}
|
||||
if (msg == CRCInput::RC_left) {
|
||||
else
|
||||
ccw_footer->setSelectedButton(selected-1);
|
||||
mb_show_button = ccw_footer->getSelectedButtonObject()->getButtonAlias();
|
||||
}
|
||||
mb_show_button = ccw_footer->getSelectedButtonObject()->getButtonAlias();
|
||||
selected = ccw_footer->getSelectedButton();
|
||||
|
||||
//***refresh buttons only if we have more than one button, this avoids unnecessary repaints with possible flicker effects***
|
||||
|
Reference in New Issue
Block a user