commit-gnue
[Top][All Lists]
Advanced

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

r6717 - in trunk/gnue-forms: . src


From: johannes
Subject: r6717 - in trunk/gnue-forms: . src
Date: Wed, 24 Nov 2004 07:08:14 -0600 (CST)

Author: johannes
Date: 2004-11-24 07:08:13 -0600 (Wed, 24 Nov 2004)
New Revision: 6717

Modified:
   trunk/gnue-forms/BUGS
   trunk/gnue-forms/src/GFInstance.py
Log:
Fixed initial display of entries for dialogs


Modified: trunk/gnue-forms/BUGS
===================================================================
--- trunk/gnue-forms/BUGS       2004-11-24 13:07:11 UTC (rev 6716)
+++ trunk/gnue-forms/BUGS       2004-11-24 13:08:13 UTC (rev 6717)
@@ -7,9 +7,6 @@
 * standing on last record in a grid, delete it then commit; the grid lines
   get out of order, the number of lines is still as if no deletion occured.
 
-* Upon initially displaying a form with style="dialog", entries are not
-  refreshed.
-
 select text with mouse and cut doesn't work with wx driver
 
 tab key presses in dropdowns on Win32 are not correct with wx driver

Modified: trunk/gnue-forms/src/GFInstance.py
===================================================================
--- trunk/gnue-forms/src/GFInstance.py  2004-11-24 13:07:11 UTC (rev 6716)
+++ trunk/gnue-forms/src/GFInstance.py  2004-11-24 13:08:13 UTC (rev 6717)
@@ -347,17 +347,13 @@
 
     # First set the current entry to be focused and up to date before
     # displaying the real UI form. 
+    form.refreshDisplay (form)
+    self.updateStatus (form)
+
     self.dispatchEvent ('gotoENTRY', object = form._currentEntry, _form = form)
     self._uiinstance.activateForm (formName, modal)
 
-    # We need a refresh only for non-dialogs since a dialog form doesn't exist
-    # anymore if we reach the following lines
-    if form.style != 'dialog':
-      form.refreshDisplay (form)
-      self.updateStatus (form)
 
-
-
   # ---------------------------------------------------------------------------
   # Build a user interface for a form tree
   # ---------------------------------------------------------------------------





reply via email to

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