mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-16 03:30:50 +08:00
Consistently disable menu items for creating a trigger when the upper host node is focused.
This commit is contained in:
@ -4453,6 +4453,7 @@ begin
|
|||||||
actCreateTable.Enabled := L in [1,2];
|
actCreateTable.Enabled := L in [1,2];
|
||||||
actCreateView.Enabled := L in [1,2];
|
actCreateView.Enabled := L in [1,2];
|
||||||
actCreateRoutine.Enabled := L in [1,2];
|
actCreateRoutine.Enabled := L in [1,2];
|
||||||
|
actCreateTrigger.Enabled := L in [1,2];
|
||||||
actDropObjects.Enabled := L in [1,2];
|
actDropObjects.Enabled := L in [1,2];
|
||||||
actCopyTable.Enabled := HasFocus and (GetFocusedTreeNodeType in [lntTable, lntView]);
|
actCopyTable.Enabled := HasFocus and (GetFocusedTreeNodeType in [lntTable, lntView]);
|
||||||
actEmptyTables.Enabled := HasFocus and (GetFocusedTreeNodeType in [lntTable, lntView]);
|
actEmptyTables.Enabled := HasFocus and (GetFocusedTreeNodeType in [lntTable, lntView]);
|
||||||
|
Reference in New Issue
Block a user