mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-16 11:42:12 +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;
|
||||
end;
|
||||
end;
|
||||
if (not DBtree.Dragging)
|
||||
and ((PageControlMain.ActivePage = tabHost) or(PageControlMain.ActivePage = tabData)) then
|
||||
if (not DBtree.Dragging) and (not QueryTabActive) then
|
||||
PageControlMain.ActivePage := tabDatabase;
|
||||
tabDatabase.TabVisible := true;
|
||||
tabEditor.TabVisible := false;
|
||||
|
Reference in New Issue
Block a user