Added Debug Catch for maybeSave

This commit is contained in:
2020-01-17 07:46:35 +01:00
parent 70b23d3c4c
commit 66dff7b9b0

View File

@@ -777,9 +777,7 @@ void IntelliPhotoGui::setIntelliStyle(){
bool IntelliPhotoGui::maybeSave(){
// Check for changes since last save
// TODO insert variable for modified status here to make an save exit message
if (false) {
#ifdef QT_NO_DEBUG
QMessageBox::StandardButton ret;
// Painting is the title of the window
@@ -798,7 +796,7 @@ bool IntelliPhotoGui::maybeSave(){
} else if (ret == QMessageBox::Cancel) {
return false;
}
}
#endif
return true;
}