Skip to content
Permalink
Browse files
fix #935
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9220 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 30, 2008
1 parent fa0cde8 commit 630ee1beaba9d1d924861cd90cc7072d5d1cefb1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -3300,7 +3300,7 @@ bool QgisApp::openLayer( const QString & fileName )
QgsMapLayer* ok = NULL;
CPLPushErrorHandler( CPLQuietErrorHandler );
if ( QgsRasterLayer::isValidRasterFileName( fileName ) )
ok = addRasterLayer( fileName, false );
ok = addRasterLayer( fileName, fileInfo.completeBaseName() );
else // nope - try to load it as a shape/ogr
ok = addVectorLayer( fileName, fileName, "ogr" );
CPLPopErrorHandler();

0 comments on commit 630ee1b

Please sign in to comment.