From: Jerome St-Louis Date: Tue, 18 Feb 2014 08:45:23 +0000 (-0500) Subject: ecere/gui/Window: Fixed modal window bug X-Git-Tag: 0.44.09.9~24 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?p=sdk;a=commitdiff_plain;h=a8545fc3d9ed3dba3680d7ce7b066bb7927a27ff ecere/gui/Window: Fixed modal window bug - It was possible to interact with main IDE window with about box if all windows including toolbox/properties were closed --- diff --git a/ecere/src/gui/Window.ec b/ecere/src/gui/Window.ec index 3d47585..bacd3df 100644 --- a/ecere/src/gui/Window.ec +++ b/ecere/src/gui/Window.ec @@ -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) {