Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.2, 5.3.1
-
None
-
Windows 7 64 bit, Ubuntu Linux 64 bit
-
e610ef8c8d156f8e70a51c719458eaea1b2266a8
Description
I have an editable QComboBox box and connected the lineEdit::returnPressed()-Signal to a slot that appends the currentText() to a QTextEdit log.
Now the following happens:
- Input "111" and press key return -> "111" appears in the log (Ok)
- Input "222" and press key return -> "222" appears in the log (Ok)
- Press key LineUp, to choose "111" again, press Ctrl+A to select all text, press key return -> "222" appears in the log (Wrong: expcted "111"). Also, the combo box now contains "222"
I found this because I wanted to always selectAll() text after Enter is pressed to ease the next input.