Skip to content

Commit ef6dc30

Browse files
Marco Bernasocchipka
authored andcommittedJul 5, 2011
added modal dialog
1 parent 99fb079 commit ef6dc30

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed
 

‎src/plugins/globe/globe_plugin.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,10 @@ void GlobePlugin::run()
162162

163163
void GlobePlugin::settings()
164164
{
165-
mSettingsDialog.exec();
166-
167-
//QMessageBox msgBox;
168-
//msgBox.setText(settingsDialog->stereoMode);
169-
//msgBox.exec();
165+
if (mSettingsDialog.exec())
166+
{
167+
viewer.QgsGLWidgetAdapter::setStereoMode(mSettingsDialog.stereoMode);
168+
}
170169
}
171170

172171
void GlobePlugin::setupMap()

0 commit comments

Comments
 (0)
Please sign in to comment.