Skip to content

Commit

Permalink
added modal dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Bernasocchi authored and pka committed Jul 5, 2011
1 parent 99fb079 commit ef6dc30
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/plugins/globe/globe_plugin.cpp
Expand Up @@ -162,11 +162,10 @@ void GlobePlugin::run()

void GlobePlugin::settings()
{
mSettingsDialog.exec();

//QMessageBox msgBox;
//msgBox.setText(settingsDialog->stereoMode);
//msgBox.exec();
if (mSettingsDialog.exec())
{
viewer.QgsGLWidgetAdapter::setStereoMode(mSettingsDialog.stereoMode);
}
}

void GlobePlugin::setupMap()
Expand Down

0 comments on commit ef6dc30

Please sign in to comment.