diff options
Diffstat (limited to 'confui/ui_automation.cpp')
-rw-r--r-- | confui/ui_automation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/confui/ui_automation.cpp b/confui/ui_automation.cpp index cecb88e..663d032 100644 --- a/confui/ui_automation.cpp +++ b/confui/ui_automation.cpp @@ -76,8 +76,8 @@ void CDAutomationWidget::apply() { _automation->button = g_cd_mesh_connector->get_node(dropdown_button->findData(dropdown_button->currentIndex())); _automation->type = (enum cd_e_automation_type) dropdown_action->findData(dropdown_action->currentIndex()); _automation->light = g_cd_mesh_connector->get_node(dropdown_light->findData(dropdown_light->currentIndex())); - _automation->valid = true; + g_cd_mesh_connector->update_link(_id, _automation); } |