MODIFIED: #1471 We should be able to close the application even when there's no loaded project.
This commit is contained in:
parent
421582d386
commit
713c256c2a
1 changed files with 1 additions and 1 deletions
|
@ -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" ),
|
||||||
|
|
Loading…
Reference in a new issue