mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:29:29 +02:00
IDE restriction browser: if loading widgetset image fails, show only debug info
git-svn-id: trunk@14984 -
This commit is contained in:
parent
223441d326
commit
738e7cfb33
@ -95,8 +95,13 @@ begin
|
||||
Down := True;
|
||||
AllowAllUp := True;
|
||||
|
||||
IDEImages.Images_16.GetBitmap(
|
||||
try
|
||||
IDEImages.Images_16.GetBitmap(
|
||||
IDEImages.LoadImage(16, 'issue_'+LCLPlatformDirNames[P]), Glyph);
|
||||
except
|
||||
DebugLn('Restriction Browser: Unable to load image for ' + LCLPlatformDirNames[P] + '!');
|
||||
end;
|
||||
|
||||
ShowHint := True;
|
||||
Hint := LCLPlatformDisplayNames[P];
|
||||
OnClick := @NameFilterEditChange;
|
||||
|
Loading…
Reference in New Issue
Block a user