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>
This commit is contained in:
Lubomir I. Ivanov 2013-06-26 15:07:50 +03:00 committed by Dirk Hohndel
parent 488ff19fd9
commit 865d4953df

View file

@ -86,7 +86,7 @@ void MainWindow::redrawProfile()
void MainWindow::on_actionNew_triggered()
{
qDebug("actionNew");
on_actionClose_triggered();
}
void MainWindow::on_actionOpen_triggered()