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@13289 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 8, 2010
1 parent c5b9aa5 commit 6b65708
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 6b65708

Please sign in to comment.