From efc55de9ab11bc150dba40c9b8aca76ad8cd04bf Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Tue, 30 Oct 2018 13:03:30 +0100 Subject: [PATCH] Cancelling Save as... stops the pocess instead of passing to the next item. --- Polyhedron/demo/Polyhedron/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyhedron/demo/Polyhedron/MainWindow.cpp b/Polyhedron/demo/Polyhedron/MainWindow.cpp index 73db7ec75cf..5e6fdb4409d 100644 --- a/Polyhedron/demo/Polyhedron/MainWindow.cpp +++ b/Polyhedron/demo/Polyhedron/MainWindow.cpp @@ -1796,7 +1796,7 @@ void MainWindow::on_actionSaveAs_triggered() &sf); if(filename.isEmpty()) - continue; + return; last_saved_dir = QFileInfo(filename).absoluteDir().path(); extensions.indexIn(sf.split(";;").first()); QString filter_ext, filename_ext;