Register popup fix

This commit is contained in:
Bertrand Songis
2019-05-06 09:56:01 +02:00
parent 88bff79523
commit 61700b56b6
13 changed files with 26 additions and 16 deletions
+4
View File
@@ -91,6 +91,7 @@ enum
inline void POPUP_INFORMATION(const char * s)
{
killAllEvents();
warningText = s;
warningInfoText = nullptr;
warningType = WARNING_TYPE_INFO;
@@ -99,6 +100,7 @@ enum
inline void POPUP_WARNING(const char * s)
{
killAllEvents();
warningText = s;
warningInfoText = nullptr;
warningType = WARNING_TYPE_ASTERISK;
@@ -107,6 +109,7 @@ enum
inline void POPUP_CONFIRMATION(const char * s, PopupMenuHandler handler)
{
killAllEvents();
warningText = s;
warningInfoText = nullptr;
warningType = WARNING_TYPE_CONFIRM;
@@ -116,6 +119,7 @@ enum
inline void POPUP_INPUT(const char * s, PopupFunc func)
{
killAllEvents();
warningText = s;
warningInfoText = nullptr;
warningType = WARNING_TYPE_INPUT;