summaryrefslogtreecommitdiffstats
path: root/sigmodr/widgets/WeatherUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmodr/widgets/WeatherUI.cpp')
-rw-r--r--sigmodr/widgets/WeatherUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigmodr/widgets/WeatherUI.cpp b/sigmodr/widgets/WeatherUI.cpp
index cfc30ce7..8255432d 100644
--- a/sigmodr/widgets/WeatherUI.cpp
+++ b/sigmodr/widgets/WeatherUI.cpp
@@ -52,7 +52,7 @@ void WeatherUI::initGui()
ui_name = formWidget->findChild<KLineEdit*>("varName");
ui_script = formWidget->findChild<ScriptWidget*>("varScript");
connect(ui_name, SIGNAL(textChanged(QString)), this, SLOT(nameChanged(QString)));
- connect(ui_script, SIGNAL(scriptChanged(Sigcore::Script)), this, SLOT(scriptChanged(Sigcore::Script)));
+ connect(ui_script, SIGNAL(valueChanged(Sigcore::Script)), this, SLOT(scriptChanged(Sigcore::Script)));
QVBoxLayout* layout = new QVBoxLayout;
layout->addWidget(formWidget);
setLayout(layout);