diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-01-06 15:29:26 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-01-06 15:29:26 +0100 |
commit | b155a5fa4b97f6f5f63f7079c671b5965db9d022 (patch) | |
tree | d089785ae1044077bb3f8e83a9dd233fbe3c2c9c /confui/ui_automation.cpp | |
parent | 62fedb0f2992222e340b62dea7f976c9bff3063e (diff) |
send POST_LINK
Diffstat (limited to 'confui/ui_automation.cpp')
-rw-r--r-- | confui/ui_automation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/confui/ui_automation.cpp b/confui/ui_automation.cpp index eb6e1f6..2ade734 100644 --- a/confui/ui_automation.cpp +++ b/confui/ui_automation.cpp @@ -74,11 +74,11 @@ void CDAutomationWidget::apply() { if (!conf_valid()) return; _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->type = (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(_automation); + g_cd_mesh_connector->update_link(_automation, true); } void CDAutomationWidget::remove() { |