aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-06-26 15:07:50 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-27 07:22:18 +0800
commit865d4953df6f8e8ddb1d1fb65faf89eb02116e87 (patch)
treed21c8dd23a5b6262cb200facc678efb0622928d7 /qt-ui/mainwindow.cpp
parent488ff19fd92dc648dc1672bd9cd83ee99cb8d128 (diff)
downloadsubsurface-865d4953df6f8e8ddb1d1fb65faf89eb02116e87.tar.gz
Add action to 'File->New'
File->New in the GTK version performed the same as File->Close. Creating a new file may also ask the user if the current file has to be saved. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 1144fa18f..bac25a315 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -86,7 +86,7 @@ void MainWindow::redrawProfile()
void MainWindow::on_actionNew_triggered()
{
- qDebug("actionNew");
+ on_actionClose_triggered();
}
void MainWindow::on_actionOpen_triggered()