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:
parent
cb13ce46cd
commit
e376bed8f1
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