Skip to content
Permalink
Browse files

unfreeze map canvas when a project is loaded

git-svn-id: http://svn.osgeo.org/qgis/trunk@5148 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Apr 3, 2006
1 parent 00c1255 commit 5077c25e2b9e8c135a00ff5d1ef7dcaf5eed8601
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/gui/qgisapp.cpp
@@ -2678,6 +2678,8 @@ bool QgisApp::addProject(QString projectFile)
}
else
{
mMapCanvas->freeze(false);
mMapCanvas->refresh();
return false;
}
}
@@ -2708,9 +2710,13 @@ bool QgisApp::addProject(QString projectFile)
tr("Unable to open project"), e.what(), QMessageBox::Ok,
Qt::NoButton );

mMapCanvas->freeze(false);
mMapCanvas->refresh();
return false;
}

mMapCanvas->freeze(false);
mMapCanvas->refresh();
return true;
} // QgisApp::addProject(QString projectFile)

0 comments on commit 5077c25

Please sign in to comment.
You can’t perform that action at this time.