Skip to content
Permalink
Browse files

Fix #6099 - Save as... for raster: missing extension on Gnome3

  • Loading branch information
slarosa committed Jun 3, 2015
1 parent 4542067 commit 2125f6ac0d693be8a1798ea2044dc0cbdc41c817
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/gui/qgsrasterlayersaveasdialog.cpp
@@ -203,6 +203,11 @@ void QgsRasterLayerSaveAsDialog::on_mBrowseButton_clicked()

if ( !fileName.isEmpty() )
{
// ensure the user never ommited the extension from the file name
if ( !fileName.toLower().endsWith( ".tif" ) && !fileName.toLower().endsWith( ".tiff" ) )
{
fileName += ".tif";
}
mSaveAsLineEdit->setText( fileName );
}
}

0 comments on commit 2125f6a

Please sign in to comment.
You can’t perform that action at this time.