msgbox: add missing handling of RC_home as cancel key

Origin commit data
------------------
Commit: 8f2d5302f4
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-03-26 (Mon, 26 Mar 2018)

Origin message was:
------------------
- msgbox: add missing handling of RC_home as cancel key
This commit is contained in:
vanhofen
2018-03-26 20:39:49 +02:00
parent 643e2a9926
commit c4885eb09a

View File

@@ -318,6 +318,10 @@ int CMsgBox::exec()
result = (msg_result_t)ccw_footer->getSelectedButtonObject()->getButtonResult();
loop = false;
}
//***cancel button***
else if (msg == CRCInput::RC_home) {
loop = false;
}
//***ignore***
else if (CNeutrinoApp::getInstance()->listModeKey(msg)){
// do nothing //TODO: if passed rc messages are ignored rc messaages: has no effect here too!!