mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:33:23 +00:00
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:
parent
488ff19fd9
commit
865d4953df
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void MainWindow::redrawProfile()
|
|||
|
||||
void MainWindow::on_actionNew_triggered()
|
||||
{
|
||||
qDebug("actionNew");
|
||||
on_actionClose_triggered();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionOpen_triggered()
|
||||
|
|
Loading…
Add table
Reference in a new issue