diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-01-13 15:32:58 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-01-13 15:32:58 +0100 |
commit | dba17944c70cf4e51a40e617a1ba6abc0fd1e65d (patch) | |
tree | 667ce85f3d11d29a56ffd740c207044987d2b268 /confui/ui_node.cpp | |
parent | 81e1d54c33fedd3e297bbf812c36d628e8261056 (diff) |
fix infinite loop
Diffstat (limited to 'confui/ui_node.cpp')
-rw-r--r-- | confui/ui_node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/confui/ui_node.cpp b/confui/ui_node.cpp index f1175f6..2898c42 100644 --- a/confui/ui_node.cpp +++ b/confui/ui_node.cpp @@ -44,7 +44,9 @@ void CDNodeWidget::update() { switch_on_off->setChecked(_node->light_on); button_add_remove->setText(_node->provisioned ? "Remove from network" : "Join network"); +} +void CDNodeWidget::update_net() { cd_s_bin *msg = cd_cmd_gen_get_node(false, this->_node->uuid); cd_pclient_send(msg); free(msg); |