From 4a3371873abb85b5402f4d06181e38f95b3ccefe Mon Sep 17 00:00:00 2001 From: "Thomas (nezza-_-) Roth" Date: Sun, 10 Dec 2017 19:14:05 +0100 Subject: [PATCH] Fixes #132: Make File->New create a new cutter instance. (#201) --- src/MainWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 6fd78bc0..24e51c3b 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -770,8 +770,7 @@ void MainWindow::addDebugOutput(const QString &msg) void MainWindow::on_actionNew_triggered() { - if (close()) - on_actionLoad_triggered(); + on_actionLoad_triggered(); } void MainWindow::on_actionSave_triggered()