IDE: build macros: enable add value button when value is selected

git-svn-id: trunk@27501 -
This commit is contained in:
mattias 2010-09-28 11:43:11 +00:00
parent d76b05c9d6
commit 5af9c03d82

View File

@ -507,7 +507,7 @@ begin
BMDeleteSpeedButton.Hint:='';
end;
BMAddMacroSpeedButton.Hint:='Add new macro';
BMAddMacroValueSpeedButton.Enabled:=NodeType=cbmntBuildMacro;
BMAddMacroValueSpeedButton.Enabled:=NodeType in [cbmntBuildMacro,cbmntValue];
BMDeleteSpeedButton.Enabled:=NodeType in [cbmntBuildMacro,cbmntValue];
end;