IDE: hide the button for creating Debug and Release build modes when the modes exist.

git-svn-id: trunk@42220 -
This commit is contained in:
juha 2013-07-28 09:48:01 +00:00
parent 933c2914a9
commit 827af12cf5

View File

@ -538,7 +538,7 @@ begin
NoteLabel.Caption:='';
btnCreateDefaultModes.Caption:='Create Debug and Release modes';
btnCreateDefaultModes.Hint:='';
btnCreateDefaultModes.Enabled := (fBuildModes.Find(DebugModeName)=Nil)
btnCreateDefaultModes.Visible := (fBuildModes.Find(DebugModeName)=Nil)
and (fBuildModes.Find(ReleaseModeName)=Nil);
end;