Skip to content
Permalink
Browse files

Small dialog tweak

  • Loading branch information
mhugent committed Jul 11, 2012
1 parent 1e6c400 commit 55ec17af961b06fe7830e2bb8de6ca7513064935
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/app/qgisapp.cpp
  2. +1 −1 src/gui/qgsrasterlayersaveasdialog.cpp
@@ -3778,8 +3778,8 @@ void QgisApp::saveAsRasterFile()
if ( d.tileMode() )
{
fileWriter.setTiledMode( true );
fileWriter.setMaxTileWidth( d.maximumTileSizeX() );
fileWriter.setMaxTileHeight( d.maximumTileSizeY() );
//fileWriter.setMaxTileWidth( d.maximumTileSizeX() );
//fileWriter.setMaxTileHeight( d.maximumTileSizeY() );
}
fileWriter.writeRaster( rasterLayer->dataProvider(), d.nColumns() );
}
@@ -77,7 +77,7 @@ void QgsRasterLayerSaveAsDialog::on_mSaveAsLineEdit_textChanged( const QString&
return;
}

okButton->setEnabled( QFile::exists( text ) );
okButton->setEnabled( QFileInfo( text ).absoluteDir().exists() );
}

int QgsRasterLayerSaveAsDialog::nColumns() const

0 comments on commit 55ec17a

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