IDE: restrictionbrowser: give back DebugLn message

git-svn-id: trunk@58136 -
This commit is contained in:
ondrej 2018-06-05 08:18:18 +00:00
parent 640a3ed946
commit fbebcf4d95

View File

@ -99,11 +99,9 @@ begin
Down := True;
AllowAllUp := True;
Images := IDEImages.Images_16;
try
ImageIndex := IDEImages.LoadImage('issue_'+LCLPlatformDirNames[P]);
except
ImageIndex := IDEImages.LoadImage('issue_'+LCLPlatformDirNames[P]);
if ImageIndex<0 then
DebugLn('Restriction Browser: Unable to load image for ' + LCLPlatformDirNames[P] + '!');
end;
ShowHint := True;
Hint := LCLPlatformDisplayNames[P];
OnClick := @NameFilterEditChange;