Skip to content

Commit

Permalink
Fixed bug when --project option is passed.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5001 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 11, 2006
1 parent a21911b commit 1f8785f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions src/gui/qgisapp.cpp
Expand Up @@ -3352,10 +3352,6 @@ void QgisApp::pan()
QgsMapTool* tool = new QgsMapToolPan(mMapCanvas); QgsMapTool* tool = new QgsMapToolPan(mMapCanvas);
tool->setAction(mActionPan); tool->setAction(mActionPan);
mMapCanvas->setMapTool(tool); mMapCanvas->setMapTool(tool);

// notify the project we've made a change
QgsProject::instance()->dirty(true);

} }


void QgisApp::zoomFull() void QgisApp::zoomFull()
Expand Down
1 change: 1 addition & 0 deletions src/gui/qgsmaprender.cpp
Expand Up @@ -41,6 +41,7 @@ QgsMapRender::QgsMapRender()
mMapUnits = QGis::METERS; mMapUnits = QGis::METERS;
mScaleCalculator->setMapUnits(mMapUnits); mScaleCalculator->setMapUnits(mMapUnits);


mSize = QSize(0,0);
} }


QgsMapRender::~QgsMapRender() QgsMapRender::~QgsMapRender()
Expand Down

0 comments on commit 1f8785f

Please sign in to comment.