commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9737 - trunk/gnue-forms/src


From: reinhard
Subject: [gnue] r9737 - trunk/gnue-forms/src
Date: Mon, 25 Jun 2007 10:33:13 -0500 (CDT)

Author: reinhard
Date: 2007-06-25 10:33:12 -0500 (Mon, 25 Jun 2007)
New Revision: 9737

Modified:
   trunk/gnue-forms/src/GFForm.py
Log:
Fix for applying a filter while the focus is on a button that is not bound to a
block.


Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py      2007-06-25 14:56:51 UTC (rev 9736)
+++ trunk/gnue-forms/src/GFForm.py      2007-06-25 15:33:12 UTC (rev 9737)
@@ -1387,7 +1387,12 @@
             else:
                 self.status_message (u_('Query successful.'))
 
-            self._currentBlock._focus_in()
+            if self._currentBlock is not None:
+                self._currentBlock._focus_in()
+            else:
+                # The Focus-In trigger of the block has already refreshed the
+                # toolbar, unless there is no current block.
+                self.status_changed()
 
             # self.beginEditing()             # happens via _focus_in()
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]