From cffc736d635c2c83fd7701d1e3ea355954eba300 Mon Sep 17 00:00:00 2001 From: vincents Date: Thu, 14 Dec 2006 20:17:03 +0000 Subject: [PATCH] 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 - --- ideintf/imagelisteditor.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/ideintf/imagelisteditor.pp b/ideintf/imagelisteditor.pp index 582bc145ce..ddd3069862 100644 --- a/ideintf/imagelisteditor.pp +++ b/ideintf/imagelisteditor.pp @@ -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,