mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-09 19:57:45 +01:00
Imagelist property editor: don't ask to split if the image width is equal to the width of the imagelist
git-svn-id: trunk@10330 -
This commit is contained in:
parent
c5cfa947b3
commit
cffc736d63
@ -502,6 +502,7 @@ begin
|
||||
if not Bmp.Empty then
|
||||
begin
|
||||
if (Bmp.Height = ImageList.Height)
|
||||
and (Bmp.Width > ImageList.Width)
|
||||
and (Bmp.Width mod ImageList.Width = 0)
|
||||
and (IDEQuestionDialog(Caption +' - '+ btnAdd.Caption,
|
||||
s_SuggestSplitImage, mtConfirmation,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user