Skip to content
Permalink
Browse files

Fixed bug on new project created

  • Loading branch information
mbernasocchi authored and pka committed Jul 5, 2011
1 parent cd72e51 commit 0b8d76939be2448c9fc652b37886a4d8d2772fd4
Showing with 6 additions and 6 deletions.
  1. +5 −5 src/plugins/globe/globe_plugin.cpp
  2. +1 −1 src/plugins/globe/globe_plugin_dialog_guibase.ui
@@ -113,7 +113,7 @@ void GlobePlugin::initGui()
this, SLOT( layersChanged() ) );
connect( mQGisIface->mainWindow(), SIGNAL( projectRead() ), this,
SLOT( projectReady() ) );
connect( mQGisIface->mainWindow(), SIGNAL( newProjectCreated() ), this,
connect( mQGisIface->mainWindow(), SIGNAL( newProject() ), this,
SLOT( blankProjectReady() ) );
connect( &mQDockWidget, SIGNAL( globeClosed() ), this,
SLOT( setGlobeNotRunning() ) );
@@ -251,10 +251,10 @@ void GlobePlugin::projectReady()
}

void GlobePlugin::blankProjectReady()
{//TODO
QMessageBox m;
m.setText("new project loaded");
m.exec();
{//TODO maybe we need newProjectCreated() SIGNAL from http://trac.osgeo.org/qgis/changeset/14452
//QMessageBox m;
//m.setText("new project loaded");
//m.exec();
mSettingsDialog.elevationDatasources()->clearContents();
mSettingsDialog.elevationDatasources()->setRowCount(0);
}
@@ -119,7 +119,7 @@
</sizepolicy>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="elevationIsLocal">
<layout class="QGridLayout" name="gridLayout_5">

0 comments on commit 0b8d769

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