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