[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r9193 - trunk/gnue-forms/src/input/displayHandlers
From: |
reinhard |
Subject: |
[gnue] r9193 - trunk/gnue-forms/src/input/displayHandlers |
Date: |
Tue, 2 Jan 2007 05:02:39 -0600 (CST) |
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()
# -------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r9193 - trunk/gnue-forms/src/input/displayHandlers,
reinhard <=