aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmleasing/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmleasing/mainwindow.cpp')
-rw-r--r--tools/qmleasing/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmleasing/mainwindow.cpp b/tools/qmleasing/mainwindow.cpp
index 679b4c0b91..4b6fb59029 100644
--- a/tools/qmleasing/mainwindow.cpp
+++ b/tools/qmleasing/mainwindow.cpp
@@ -77,7 +77,7 @@ MainWindow::MainWindow(QWidget *parent) :
for (const QString &name : presetNames)
ui_properties.comboBox->addItem(name);
- connect(ui_properties.comboBox, SIGNAL(currentIndexChanged(QString)), splineEditor, SLOT(setPreset(QString)));
+ connect(ui_properties.comboBox, SIGNAL(currentTextChanged(QString)), splineEditor, SLOT(setPreset(QString)));
splineEditor->setPreset(ui_properties.comboBox->currentText());