Commit c9ad077e authored by Tobias Hunger's avatar Tobias Hunger
Browse files

JsonWizard: Trigger complete change when triggering Checkboxes



Change-Id: Idb81fee165f5950d8a4dbe51fc79822594f9b3c4
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 16e0656d
......@@ -636,7 +636,7 @@ QWidget *JsonFieldPage::CheckBoxField::widget(const QString &displayName, JsonFi
void JsonFieldPage::CheckBoxField::setup(JsonFieldPage *page, const QString &name)
{
TextFieldCheckBox *w = static_cast<TextFieldCheckBox *>(m_widget);
connect(w, &TextFieldCheckBox::clicked, [this]() { m_isModified = true; });
connect(w, &TextFieldCheckBox::clicked, [this, page]() { m_isModified = true; page->completeChanged();});
page->registerFieldWithName(name, w, "text", SIGNAL(textChanged(QString)));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment