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/qgis@13957 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
brushtyler committed Jul 24, 2010
1 parent 774dda3 commit d6a6d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
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 d6a6d98

Please sign in to comment.