Browse Source

- Make it impossible to open more than one options dialog

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
cbafac8ea9
  1. 6
      src/GUI.cpp

6
src/GUI.cpp

@ -922,8 +922,10 @@ void GUI::createTrayIcon() { @@ -922,8 +922,10 @@ void GUI::createTrayIcon() {
// Display Program Options
void GUI::on_actionOptions_triggered() {
options = new options_imp(this);
connect(options, SIGNAL(status_changed()), this, SLOT(optionsSaved()));
if(!options) {
options = new options_imp(this);
connect(options, SIGNAL(status_changed()), this, SLOT(optionsSaved()));
}
}
/*****************************************************

Loading…
Cancel
Save