mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-15 17:33:43 +02:00
- messagebox: fix navigation in buttons if just one button is present (thx dbo)
This commit is contained in:
@@ -233,7 +233,7 @@ int CMessageBox::exec(int timeout)
|
|||||||
result = mbrYes;
|
result = mbrYes;
|
||||||
loop = false;
|
loop = false;
|
||||||
}
|
}
|
||||||
else if(msg==CRCInput::RC_right)
|
else if(msg==CRCInput::RC_right && ButtonCount > 1)
|
||||||
{
|
{
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
while (!ok)
|
while (!ok)
|
||||||
@@ -257,7 +257,7 @@ int CMessageBox::exec(int timeout)
|
|||||||
paintButtons();
|
paintButtons();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(msg==CRCInput::RC_left)
|
else if(msg==CRCInput::RC_left && ButtonCount > 1)
|
||||||
{
|
{
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
while (!ok)
|
while (!ok)
|
||||||
|
Reference in New Issue
Block a user