mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Do not switch from "Query" to "Host" main tab when disconnecting. Hopefully does not break what I've done in r3868.
This commit is contained in:
@ -1553,6 +1553,7 @@ begin
|
||||
// SynMemo font, hightlighting and shortcuts
|
||||
SetupSynEditors;
|
||||
|
||||
SetMainTab(tabHost);
|
||||
FBtnAddTab := TSpeedButton.Create(PageControlMain);
|
||||
FBtnAddTab.Parent := PageControlMain;
|
||||
ImageListMain.GetBitmap(actNewQueryTab.ImageIndex, FBtnAddTab.Glyph);
|
||||
@ -7209,7 +7210,6 @@ begin
|
||||
end else begin
|
||||
LogSQL('DBtreeFocusChanged without node.', lcDebug);
|
||||
FreeAndNil(FActiveDbObj);
|
||||
MainTabToActivate := tabHost;
|
||||
tabHost.Caption := 'Host';
|
||||
tabDatabase.Caption := 'Database';
|
||||
// Clear server version panel
|
||||
|
Reference in New Issue
Block a user