dabo Commit
Revision 6691
Date: 2011-07-09 12:24:40 -0700 (Sat, 09 Jul 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6691

Changed:
U   trunk/dabo/ui/uiwx/dPageFrameMixin.py

Log:
Fix missed condition checking.

Diff:
Modified: trunk/dabo/ui/uiwx/dPageFrameMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPageFrameMixin.py       2011-07-09 19:03:01 UTC (rev 
6690)
+++ trunk/dabo/ui/uiwx/dPageFrameMixin.py       2011-07-09 19:24:40 UTC (rev 
6691)
@@ -46,7 +46,7 @@
                        evt.Veto()
                else:
                        evt.Skip()
-               if oldPageNum >= 0 and self.PageCount > oldPageNum:
+               if oldPageNum >= 0 and self.PageCount > oldPageNum and 
self.UseSmartFocus:
                        try:
                                self.Pages[oldPageNum]._saveLastActiveControl()
                        except AttributeError:



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to