Skip to content

Commit

Permalink
changed wrong key used retrieving from settings the last used image f…
Browse files Browse the repository at this point in the history
…ilter, to fix #2901

git-svn-id: http://svn.osgeo.org/qgis/trunk@13957 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
brushtyler committed Jul 24, 2010
1 parent e357842 commit 90cda1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -3462,7 +3462,7 @@ void QgisApp::saveMapAsImage()

//find out the last used filter
QSettings myQSettings; // where we keep last used filter in persistent state
QString myLastUsedFilter = myQSettings.value( "/UI/saveAsImageFilter" ).toString();
QString myLastUsedFilter = myQSettings.value( "/UI/lastSaveAsImageFilter" ).toString();
QString myLastUsedDir = myQSettings.value( "/UI/lastSaveAsImageDir", "." ).toString();

// get a list of supported output image types
Expand Down

0 comments on commit 90cda1e

Please sign in to comment.