[rkward-cvs] SF.net SVN: rkward:[2597] trunk/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Aug 5 10:07:00 UTC 2009


Revision: 2597
          http://rkward.svn.sourceforge.net/rkward/?rev=2597&view=rev
Author:   tfry
Date:     2009-08-05 10:07:00 +0000 (Wed, 05 Aug 2009)

Log Message:
-----------
RKToolWindowBar::showWidget() sets active to true, so we need to make sure to clear this if the focus is not really set.

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/windows/rkmdiwindow.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2009-08-05 08:17:33 UTC (rev 2596)
+++ trunk/rkward/ChangeLog	2009-08-05 10:07:00 UTC (rev 2597)
@@ -1,3 +1,5 @@
+- Fixed: Console window would sometimes remain in partially active state after piping commands
+
 --- Version 0.5.1 - Aug-04-2009
 - Support compilation on Windows
 - Add framework for automated plugin testing, and some first plugin tests

Modified: trunk/rkward/rkward/windows/rkmdiwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkmdiwindow.cpp	2009-08-05 08:17:33 UTC (rev 2596)
+++ trunk/rkward/rkward/windows/rkmdiwindow.cpp	2009-08-05 10:07:00 UTC (rev 2597)
@@ -141,7 +141,10 @@
 		topLevelWidget ()->activateWindow ();
 		setFocus();
 	} else {
-		if (old_focus) old_focus->setFocus ();
+		if (old_focus) {
+			old_focus->setFocus ();
+			active = false;
+		}
 	}
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list