Consistently disable menu items for creating a trigger when the upper host node is focused.

This commit is contained in:
Ansgar Becker
2009-12-25 06:53:26 +00:00
parent a265c45ba0
commit c181ffe902

View File

@ -4453,6 +4453,7 @@ begin
actCreateTable.Enabled := L in [1,2];
actCreateView.Enabled := L in [1,2];
actCreateRoutine.Enabled := L in [1,2];
actCreateTrigger.Enabled := L in [1,2];
actDropObjects.Enabled := L in [1,2];
actCopyTable.Enabled := HasFocus and (GetFocusedTreeNodeType in [lntTable, lntView]);
actEmptyTables.Enabled := HasFocus and (GetFocusedTreeNodeType in [lntTable, lntView]);