diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2014-01-19 19:36:51 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-19 13:57:40 -0800 |
commit | 6a58712270c15488ddb799fbee8bc9eef85054be (patch) | |
tree | d9ebf2738b06616d94af30c0e273f55f19dc60d5 /qt-ui | |
parent | b8c746d975e17b6c7be76ef816a8b061e4c12403 (diff) | |
download | subsurface-6a58712270c15488ddb799fbee8bc9eef85054be.tar.gz |
Enter dive edit mode on divemaster field focus
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index e8df29368..fc836f40b 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -304,7 +304,7 @@ bool MainTab::eventFilter(QObject* object, QEvent* event) // FocusIn for the starWidgets or RequestSoftwareInputPanel for tagWidget start the editing if ((event->type() == QEvent::MouseButtonPress) || (event->type() == QEvent::KeyPress && object == ui.dateTimeEdit) || - (event->type() == QEvent::FocusIn && (object == ui.rating || object == ui.visibility || object == ui.buddy || object == ui.tagWidget))) { + (event->type() == QEvent::FocusIn && (object == ui.rating || object == ui.visibility || object == ui.buddy || object == ui.tagWidget || object || ui.divemaster))) { tabBar()->setTabIcon(currentIndex(), QIcon(":warning")); enableEdition(); } |