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() _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue