Skip to content
Permalink
Browse files

fixed bug in elevation layers dialog when changeing between projects

  • Loading branch information
mbernasocchi authored and pka committed Feb 17, 2011
1 parent d3dfc8e commit 64d1129ae29a3b3a42941e2115d91d181e0b8e76
Showing with 3 additions and 7 deletions.
  1. +3 −7 src/plugins/globe/globe_plugin.cpp
@@ -246,17 +246,13 @@ void GlobePlugin::setupMap()

void GlobePlugin::projectReady()
{
//QMessageBox m;
//m.setText("projectReady()");
//m.exec();
blankProjectReady();
mSettingsDialog.readElevationDatasources();
}

void GlobePlugin::blankProjectReady()
{//TODO now i patched the source against from http://trac.osgeo.org/qgis/changeset/14452
//QMessageBox m;
//m.setText("new project loaded");
//m.exec();
{ //TODO now i patched the source against from http://trac.osgeo.org/qgis/changeset/14452
//when we use a newer code base we should need to patch
mSettingsDialog.elevationDatasources()->clearContents();
mSettingsDialog.elevationDatasources()->setRowCount(0);
}

0 comments on commit 64d1129

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