Skip to content

Commit

Permalink
re-enable opening projects by drag&drop
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13289 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 8, 2010
1 parent e516201 commit 611f904
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -587,6 +587,7 @@ void QgisApp::dropEvent( QDropEvent *event )
if ( fi.completeSuffix() == "qgs" )
{
QgsDebugMsg( "Opening project " + fileName );
openProject( fileName );
}
else
{
Expand Down Expand Up @@ -3588,7 +3589,7 @@ void QgisApp::saveMapAsImage()
continue;

QString myFilter = createFileFilter_( myFormat + " format", "*." + myFormat );
if( !myFilters.isEmpty() )
if ( !myFilters.isEmpty() )
myFilters += ";;";
myFilters += myFilter;
myFilterMap[myFilter] = myFormat;
Expand Down

0 comments on commit 611f904

Please sign in to comment.