Fix for query tool prompting for unsaved changes even if no changes have been made. #5756
parent
f623d563b1
commit
8388f1e7ba
|
@ -431,6 +431,7 @@ export default function QueryToolComponent({params, pgWindow, pgAdmin, selectedN
|
|||
setPanelTitle(panel, fileName, {...qtState, current_file: fileName});
|
||||
}
|
||||
eventBus.current.fireEvent(QUERY_TOOL_EVENTS.EDITOR_LAST_FOCUS);
|
||||
eventBus.current.fireEvent(QUERY_TOOL_EVENTS.QUERY_CHANGED, isDirtyRef.current);
|
||||
};
|
||||
const events = [
|
||||
[QUERY_TOOL_EVENTS.TRIGGER_LOAD_FILE, ()=>{
|
||||
|
|
Loading…
Reference in New Issue