mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-17 21:01:33 +08:00
Leave SQL help action disabled as long as there is no selected connection. Fixes issue #3200.
This commit is contained in:
@ -7340,6 +7340,7 @@ begin
|
||||
tabDatabase.TabVisible := (FActiveDbObj <> nil) and (FActiveDbObj.NodeType <> lntNone);
|
||||
tabEditor.TabVisible := (FActiveDbObj <> nil) and (FActiveDbObj.NodeType in [lntTable..lntEvent]);
|
||||
tabData.TabVisible := (FActiveDbObj <> nil) and (FActiveDbObj.NodeType in [lntTable, lntView]);
|
||||
actSQLhelp.Enabled := Assigned(Node);
|
||||
end;
|
||||
|
||||
// Store click history item
|
||||
|
Reference in New Issue
Block a user