Ensure that the query tool panel gets closed when clicking on the 'Don't Save' button. Fixes #5416

This commit is contained in:
Yogesh Mahajan authored and Akshay Joshi committed 2020-05-28 16:39:26 +05:30
1 parent 9468c16233
commit e10f1274dc
3 files changed
+24 -1

No files matched your search

@@ -4384,7 +4384,9 @@ define('tools.querytool', [
else
self.ignore_on_close.unsaved_query = true;
// Go back to check for any other needed confirmations before closing
self.check_needed_confirmations_before_closing_panel();
if (!self.check_needed_confirmations_before_closing_panel()){
closeEvent.cancel = true;
}
break;
case 2: //Save
self.close_on_save = true;