From c181ffe9026788ce524e4a63d38c5786648a01f0 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Fri, 25 Dec 2009 06:53:26 +0000 Subject: [PATCH] Consistently disable menu items for creating a trigger when the upper host node is focused. --- source/main.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/source/main.pas b/source/main.pas index f40615a2..4352aeea 100644 --- a/source/main.pas +++ b/source/main.pas @@ -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]);