ide: Changing reload message boxes activation settings to 'flash'
authorJerome St-Louis <jerome@ecere.com>
Fri, 15 Jul 2016 02:53:30 +0000 (22:53 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 28 Jul 2016 22:23:28 +0000 (18:23 -0400)
ide/src/IDESettings.ec
ide/src/designer/CodeEditor.ec
ide/src/ide.ec

index 83954ea..c7dbf1b 100644 (file)
@@ -319,6 +319,7 @@ private:
             CloseAndMonitor();
 
             MessageBox { master = w, type = ok, isModal = true,
+                  creationActivation = flash,
                   text = "Global Settings Modified Externally",
                   contents = "The global settings were modified by another process and a drastic shrinking of the settings file was detected.\n"
                   "The new settings will not be loaded to prevent loss of your ide settings.\n"
index 55c9537..289d9ac 100644 (file)
@@ -2332,7 +2332,7 @@ class CodeEditor : Window
 
          sprintf(message, $"The document %s was modified by another application.\n"
             "Would you like to reload it and lose your changes?", fileName);
-         if(MessageBox { type = yesNo, master = /*parent = */parent, text = $"Document has been modified",
+         if(MessageBox { creationActivation = flash, type = yesNo, master = /*parent = */parent, text = $"Document has been modified",
             contents = message }.Modal() == yes)
             reload = true;
       }
index 2c06b0a..6238aaa 100644 (file)
@@ -1829,7 +1829,7 @@ class IDEWorkSpace : Window
       char temp[4096];
       sprintf(temp, $"The document %s was modified by another application.\n"
             "Would you like to reload it and lose your changes?", this.fileName);
-      if(MessageBox { type = yesNo, master = this/*.parent*/,
+      if(MessageBox { creationActivation = flash, type = yesNo, master = this/*.parent*/,
             text = $"Document has been modified", contents = temp }.Modal() == yes)
       {
          bool noParsing = (this._class == class(CodeEditor) && ((CodeEditor)this).noParsing) ? true : false;