mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure the query tool opens successfully on renaming any tree node from the database selected for the query tool connection #5542, #5559
This commit is contained in:
@@ -315,10 +315,6 @@ _.extend(pgBrowser.browserTreeState, {
|
||||
});
|
||||
}
|
||||
|
||||
// Select the previously selected item
|
||||
!this.is_selected && setTimeout(()=>{
|
||||
pgBrowser.tree.ensureVisible(item, 'center');
|
||||
}, 0);
|
||||
this.select_tree_item(item);
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user