Browse Source

initialText should leave cursor at end of text

David Rose 15 years ago
parent
commit
24f0ffafc6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/gui/DirectEntry.py

+ 1 - 1
direct/src/gui/DirectEntry.py

@@ -136,7 +136,7 @@ class DirectEntry(DirectFrame):
         # Update initial text
         # Update initial text
         self.unicodeText = 0
         self.unicodeText = 0
         if self['initialText']:
         if self['initialText']:
-            self.set(self['initialText'])
+            self.enterText(self['initialText'])
 
 
     def destroy(self):
     def destroy(self):
         self.ignoreAll()
         self.ignoreAll()