Set Selection support in Input.Update. Detecting ENTER key in auto complete demo
This commit is contained in:
parent
7e8e120fa1
commit
8abca2ea6e
2 changed files with 6 additions and 4 deletions
|
@ -548,7 +548,7 @@ class InputText(Element):
|
|||
self.QT_QLineEdit.setText(str(value))
|
||||
self.DefaultText = value
|
||||
if select:
|
||||
self.QT_QLineEdit.setSelection()
|
||||
self.QT_QLineEdit.setSelection(0,QtGui.QTextCursor.End )
|
||||
|
||||
def Get(self):
|
||||
return self.QT_QLineEdit.text()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue