diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-06-26 15:07:50 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-06-27 07:22:18 +0800 |
commit | 865d4953df6f8e8ddb1d1fb65faf89eb02116e87 (patch) | |
tree | d21c8dd23a5b6262cb200facc678efb0622928d7 /qt-ui/mainwindow.cpp | |
parent | 488ff19fd92dc648dc1672bd9cd83ee99cb8d128 (diff) | |
download | subsurface-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.cpp | 2 |
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() |