|
@@ -2780,6 +2780,8 @@ class HostWindow(QMainWindow): |
|
|
return False |
|
|
return False |
|
|
if self.fCustomStopAction == self.CUSTOM_ACTION_APP_CLOSE: |
|
|
if self.fCustomStopAction == self.CUSTOM_ACTION_APP_CLOSE: |
|
|
return False |
|
|
return False |
|
|
|
|
|
if self.fWindowCloseHideGui: |
|
|
|
|
|
return False |
|
|
if self.fSavedSettings[CARLA_KEY_MAIN_CONFIRM_EXIT]: |
|
|
if self.fSavedSettings[CARLA_KEY_MAIN_CONFIRM_EXIT]: |
|
|
return QMessageBox.question(self, self.tr("Quit"), |
|
|
return QMessageBox.question(self, self.tr("Quit"), |
|
|
self.tr("Are you sure you want to quit Carla?"), |
|
|
self.tr("Are you sure you want to quit Carla?"), |
|
|