mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 22:19:17 +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;
|
Down := True;
|
||||||
AllowAllUp := True;
|
AllowAllUp := True;
|
||||||
|
|
||||||
|
try
|
||||||
IDEImages.Images_16.GetBitmap(
|
IDEImages.Images_16.GetBitmap(
|
||||||
IDEImages.LoadImage(16, 'issue_'+LCLPlatformDirNames[P]), Glyph);
|
IDEImages.LoadImage(16, 'issue_'+LCLPlatformDirNames[P]), Glyph);
|
||||||
|
except
|
||||||
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user