mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
src/gui/widget/msgbox.cpp init result
This commit is contained in:
@@ -103,7 +103,8 @@ void CMsgBox::init(const int& Height, const int& ShowButtons, const msg_result_t
|
||||
//set result
|
||||
if (Default_result != mbrNone)
|
||||
result = default_result = Default_result;
|
||||
|
||||
else
|
||||
result = mbrNone;
|
||||
//add and initialize footer buttons with required buttons and basic properties
|
||||
if (ShowButtons > -1)
|
||||
mb_show_button = ShowButtons;
|
||||
|
Reference in New Issue
Block a user