From fc0cf133b220728536d9053407522b4a55760c8f Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Sat, 7 Jul 2018 11:21:19 -0500 Subject: [PATCH] Bind to all event combobox value changes --- editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor.h b/editor.h index bc21584a..7564e196 100755 --- a/editor.h +++ b/editor.h @@ -173,7 +173,7 @@ public: emit spriteChanged(event->pixmap); } void bind(QComboBox *combo, QString key) { - connect(combo, static_cast(&QComboBox::activated), + connect(combo, static_cast(&QComboBox::currentTextChanged), this, [this, key](QString value){ this->event->put(key, value); });