[PATCH] Disable DC shortcuts on closing data file

Sergey Starosek sergey.starosek at gmail.com
Wed Jul 16 02:09:14 PDT 2014


Signed-off-by: Sergey Starosek <sergey.starosek at gmail.com>
---
 qt-ui/mainwindow.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 01024a5..5f1e0c4 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)
-- 
1.8.5.5



More information about the subsurface mailing list