[rkward-cvs] SF.net SVN: rkward: [1591] trunk/rkward/rkward/windows/rkworkplace.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Mar 15 20:16:12 UTC 2007


Revision: 1591
          http://svn.sourceforge.net/rkward/?rev=1591&view=rev
Author:   tfry
Date:     2007-03-15 13:16:12 -0700 (Thu, 15 Mar 2007)

Log Message:
-----------
Small correction to window history keeping

Modified Paths:
--------------
    trunk/rkward/rkward/windows/rkworkplace.cpp

Modified: trunk/rkward/rkward/windows/rkworkplace.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkworkplace.cpp	2007-03-15 19:52:55 UTC (rev 1590)
+++ trunk/rkward/rkward/windows/rkworkplace.cpp	2007-03-15 20:16:12 UTC (rev 1591)
@@ -439,10 +439,8 @@
 	if (window->isToolWindow ()) return;		// exclude tool windows for now. Make configurable?
 
 	forward_list.clear ();
-	if (current) {
-		back_list.remove (current);		// remove dupes
-		back_list.append (current);
-	}
+	back_list.remove (window);		// remove dupes
+	if (current) back_list.append (current);
 
 	current = window;
 	updateActions ();


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