From 865d4953df6f8e8ddb1d1fb65faf89eb02116e87 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 26 Jun 2013 15:07:50 +0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3-70-g09d2