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:
vincents 2006-12-14 20:17:03 +00:00
parent c5cfa947b3
commit cffc736d63

View File

@ -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,