[gnue] r9658 - trunk/gnue-forms/src/input/displayHandlers

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-06-05 03:22:40 -0500 (Tue, 05 Jun 2007)
New Revision: 9658

Modified:
   trunk/gnue-forms/src/input/displayHandlers/Cursor.py
Log:
Properly refresh display in endEdit.


Modified: trunk/gnue-forms/src/input/displayHandlers/Cursor.py
===================================================================
--- trunk/gnue-forms/src/input/displayHandlers/Cursor.py	2007-06-05 08:15:19 UTC (rev 9657)
+++ trunk/gnue-forms/src/input/displayHandlers/Cursor.py	2007-06-05 08:22:40 UTC (rev 9658)
@@ -166,6 +166,9 @@
         self._selection1 = None
         self.editing = False
         # Refresh display to switch from editing format to display format.
+        self.display = self.build_display(self.field.get_value(), self.editing)
+        self._cursor = len(self.display)
+        self._selection1 = self._selection2 = None
         self.generateRefreshEvent()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.