MODIFIED: #1471 We should be able to close the application even when there's no loaded project.

This commit is contained in:
dfighter1985 2012-12-02 18:17:39 +01:00
parent 421582d386
commit 713c256c2a

View file

@ -252,7 +252,7 @@ namespace GUIEditor
bool GUIEditorWindow::close() bool GUIEditorWindow::close()
{ {
if( currentProject.isEmpty() ) if( currentProject.isEmpty() )
return false; return true;
QMessageBox::StandardButton reply = QMessageBox::question( this, QMessageBox::StandardButton reply = QMessageBox::question( this,
tr( "Closing project" ), tr( "Closing project" ),