Browse Source

Fixed applying unsaved changes when editing

Victor 3 năm trước cách đây
mục cha
commit
b897d4c735
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      views/SensorEdit_view.c

+ 1 - 0
views/SensorEdit_view.c

@@ -116,6 +116,7 @@ static uint32_t _exit_callback(void* context) {
     UNUSED(context);
     editable_sensor->status = UT_TIMEOUT;
     if(!unitemp_sensor_isContains(editable_sensor)) unitemp_sensor_free(editable_sensor);
+    unitemp_sensors_reload();
     //Возврат предыдущий вид
     return VIEW_GENERAL;
 }