ecere/gui/Window: Fixed modal window bug
authorJerome St-Louis <jerome@ecere.com>
Tue, 18 Feb 2014 08:45:23 +0000 (03:45 -0500)
committerJerome St-Louis <jerome@ecere.com>
Tue, 18 Feb 2014 08:45:23 +0000 (03:45 -0500)
- It was possible to interact with main IDE window with about box if all windows including toolbox/properties were closed

ecere/src/gui/Window.ec

index 3d47585..bacd3df 100644 (file)
@@ -3300,7 +3300,7 @@ private:
          // TESTING THIS FOR DROPBOX...
          if(!rootWindow || !rootWindow.style.interim)
          {
-            for(check2 = check; check2.activeChild; check2 = check2.activeChild)
+            for(check2 = check; check2 /*.activeChild*/; check2 = check2.activeChild)
             {
                if(check2.modalSlave && check2.modalSlave.created)
                {