From 42e8e6406bac6cc0697fccc9db56f4bf333e3a55 Mon Sep 17 00:00:00 2001 From: Sergey Starosek Date: Wed, 16 Jul 2014 13:09:14 +0400 Subject: [PATCH] Disable DC shortcuts on closing data file Signed-off-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) 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)