ideintf: if no graphic format was chosen in the imagelist editor save picture dialog and thus we have no file extension then use 'bmp'

git-svn-id: trunk@16400 -
This commit is contained in:
paul 2008-09-04 07:46:35 +00:00
parent f790ccc88c
commit 859315c62d

View File

@ -304,6 +304,8 @@ begin
if ExtractFileExt(FileName) = '' then
begin
Ext := SaveDialog.GetFilterExt;
if Ext = '' then
Ext := 'bmp';
if Ext <> '' then
FileName := FileName + '.' + Ext;
end;