Skip to content

Commit 64d1129

Browse files
mbernasocchipka
authored andcommitted
fixed bug in elevation layers dialog when changeing between projects
1 parent d3dfc8e commit 64d1129

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/plugins/globe/globe_plugin.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -246,17 +246,13 @@ void GlobePlugin::setupMap()
246246

247247
void GlobePlugin::projectReady()
248248
{
249-
//QMessageBox m;
250-
//m.setText("projectReady()");
251-
//m.exec();
249+
blankProjectReady();
252250
mSettingsDialog.readElevationDatasources();
253251
}
254252

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

0 commit comments

Comments
 (0)