Skip to content

Commit

Permalink
fixed bug in elevation layers dialog when changeing between projects
Browse files Browse the repository at this point in the history
  • Loading branch information
mbernasocchi authored and pka committed Jul 5, 2011
1 parent d3dfc8e commit 64d1129
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/plugins/globe/globe_plugin.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 64d1129

Please sign in to comment.