diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-04 11:06:28 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-04 11:06:28 -0300 |
commit | c23dd354b9811956407da6d2eca3edbcc4999127 (patch) | |
tree | 63cef0eff740b41f762ddbbbc79a87bc6ed8253c /qt-ui/diveplanner.h | |
parent | f457415f7ae8ff3cfd86dc5f629117c78fe56c3c (diff) | |
download | subsurface-c23dd354b9811956407da6d2eca3edbcc4999127.tar.gz |
Added a shortcut to 'esc', so it clears the selection or cancels the plan.
Added a shortcut to the esc key, so it clears the selection,
if there's no selection, it acts just like clicking on the 'cancel'
button. Next: delete selected handlers.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 9c8a2b7a6..310ef737c 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -77,6 +77,7 @@ protected: void deleteTemporaryDivePlan(struct divedatapoint* dp); qreal fromPercent(qreal percent, Qt::Orientation orientation); private slots: + void keyEscAction(); void increaseTime(); void increaseDepth(); void okClicked(); |