From 713c256c2a6b094bbe3d0526984836b139cad9b4 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Sun, 2 Dec 2012 18:17:39 +0100 Subject: [PATCH] MODIFIED: #1471 We should be able to close the application even when there's no loaded project. --- .../src/plugins/gui_editor/gui_editor_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_window.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_window.cpp index 99ade3b18..ac4afba00 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_window.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/gui_editor/gui_editor_window.cpp @@ -252,7 +252,7 @@ namespace GUIEditor bool GUIEditorWindow::close() { if( currentProject.isEmpty() ) - return false; + return true; QMessageBox::StandardButton reply = QMessageBox::question( this, tr( "Closing project" ),