Author: reinhard
Date: 2007-01-02 05:02:38 -0600 (Tue, 02 Jan 2007)
New Revision: 9193

Modified:
   trunk/gnue-forms/src/input/displayHandlers/Cursor.py
Log:
Refresh display after changing from edit to non-edit mode. This fixes the
selection not disappearing in dropdowns after moving the focus out of the
entry.


Modified: trunk/gnue-forms/src/input/displayHandlers/Cursor.py
===================================================================
--- trunk/gnue-forms/src/input/displayHandlers/Cursor.py        2006-12-29 
14:02:06 UTC (rev 9192)
+++ trunk/gnue-forms/src/input/displayHandlers/Cursor.py        2007-01-02 
11:02:38 UTC (rev 9193)
@@ -183,6 +183,11 @@
             except:
                 self.editing = True
                 raise
+        else:
+            # If we don't have to update the field value, we need to refresh
+            # the display, because the selection has been deleted, and the
+            # display string could be different from editing to non-editing.
+            self.generateRefreshEvent()
 
 
     # -------------------------------------------------------------------------



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to