diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2014-07-16 13:09:14 +0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-16 09:14:39 -0700 |
commit | 42e8e6406bac6cc0697fccc9db56f4bf333e3a55 (patch) | |
tree | fd4c3084ee1e35c8e328ebb5396d71767b542092 | |
parent | b87a602265c3c514dc47fde97f1669e368b4490d (diff) | |
download | subsurface-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.cpp | 1 |
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) |