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

--HG--
branch : gsoc2012-gui-editor
This commit is contained in:
dfighter1985 2012-12-02 18:17:39 +01:00
parent cb13ce46cd
commit e376bed8f1

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" ),