mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 05:23:12 +01:00 
			
		
		
		
	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:
		
							parent
							
								
									f790ccc88c
								
							
						
					
					
						commit
						859315c62d
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user