mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Fix part 2 of "bug" 1803650 (actually not a bug but unwanted behaviour): Switch to "Database" tab if "Host" was active and a database is clicked in dbtree.
This commit is contained in:
@@ -1266,6 +1266,7 @@ end;
|
||||
procedure TMDIChild.ShowDatabase(db: String);
|
||||
begin
|
||||
if (not DBTree.Dragging) and (
|
||||
(PageControlMain.ActivePage = tabHost) or
|
||||
(PageControlMain.ActivePage = tabTable) or
|
||||
(PageControlMain.ActivePage = tabData)
|
||||
) then PageControlMain.ActivePage := tabDatabase;
|
||||
|
||||
Reference in New Issue
Block a user