mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-17 04:40:18 +08:00
Fix empty table name in SELECT and following AV when hiding tabs auto selects the data tab for a millisecond. Reproducible when you have the table editor open and click a different database in the tree.
This commit is contained in:
@ -6417,8 +6417,7 @@ begin
|
|||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
if (not DBtree.Dragging)
|
if (not DBtree.Dragging) and (not QueryTabActive) then
|
||||||
and ((PageControlMain.ActivePage = tabHost) or(PageControlMain.ActivePage = tabData)) then
|
|
||||||
PageControlMain.ActivePage := tabDatabase;
|
PageControlMain.ActivePage := tabDatabase;
|
||||||
tabDatabase.TabVisible := true;
|
tabDatabase.TabVisible := true;
|
||||||
tabEditor.TabVisible := false;
|
tabEditor.TabVisible := false;
|
||||||
|
Reference in New Issue
Block a user