mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the file name in the query tool tab was not changing if another file is opened. #5909
This commit is contained in:
@@ -431,7 +431,6 @@ 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, ()=>{
|
||||
|
||||
Reference in New Issue
Block a user