mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 12:30:36 +02:00
IDE: build macros: enable add value button when value is selected
git-svn-id: trunk@27501 -
This commit is contained in:
parent
d76b05c9d6
commit
5af9c03d82
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user