diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-10-15 13:45:24 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-15 09:49:12 -0700 |
commit | 34f2a5ecc7c7bef15e3f29f1dc5def8a1d2e9965 (patch) | |
tree | a41190c6366b542ae4fead842f7b2f647ab30f8f /qt-ui/models.cpp | |
parent | 6ccb541f1dc22295e61195aeac532f9f46cb0253 (diff) | |
download | subsurface-34f2a5ecc7c7bef15e3f29f1dc5def8a1d2e9965.tar.gz |
Fixed the Tab behavior on the QCombobox Delegate
This Patch fixes the tab behavior on the QComboBox
delegate. For a QComboBox, tab was being treated as
'cancel' action on edit, but since it will send a
editingFinished() signal, and the Qt::Key_Return
will also send a editingFinished() signal, I couldn't
use that method and had to do a little hack around it.
The code is mostly clean and works.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
0 files changed, 0 insertions, 0 deletions