summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-07-16 13:09:14 +0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-16 09:14:39 -0700
commit42e8e6406bac6cc0697fccc9db56f4bf333e3a55 (patch)
treefd4c3084ee1e35c8e328ebb5396d71767b542092
parentb87a602265c3c514dc47fde97f1669e368b4490d (diff)
downloadsubsurface-42e8e6406bac6cc0697fccc9db56f4bf333e3a55.tar.gz
Disable DC shortcuts on closing data file
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 01024a580..5f1e0c4bb 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -222,6 +222,7 @@ void MainWindow::cleanUpEmpty()
ui.globe->reload();
if (!existing_filename)
setTitle(MWTF_DEFAULT);
+ disableDcShortcuts();
}
void MainWindow::setToolButtonsEnabled(bool enabled)