src/gui/widget/msgbox.cpp init result

Origin commit data
------------------
Branch: ni/coolstream
Commit: d5cf652763
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-03-05 (Sun, 05 Mar 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-03-05 14:41:15 +01:00
parent f4b4a6a8aa
commit 66b32e5ddb

View File

@@ -103,7 +103,8 @@ void CMsgBox::init(const int& Height, const int& ShowButtons, const msg_result_t
//set result //set result
if (Default_result != mbrNone) if (Default_result != mbrNone)
result = default_result = Default_result; result = default_result = Default_result;
else
result = mbrNone;
//add and initialize footer buttons with required buttons and basic properties //add and initialize footer buttons with required buttons and basic properties
if (ShowButtons > -1) if (ShowButtons > -1)
mb_show_button = ShowButtons; mb_show_button = ShowButtons;