From af1647c84bb9c9c7ffbace2b89b4c84322cb9695 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Wed, 2 Nov 2022 23:52:03 +0300 Subject: [PATCH] Update DHT montior plugin --- .../plugins/dht_temp_sensor/scenes/DHTMon_sensorEdit_scene.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applications/plugins/dht_temp_sensor/scenes/DHTMon_sensorEdit_scene.c b/applications/plugins/dht_temp_sensor/scenes/DHTMon_sensorEdit_scene.c index b9c5a1134..c44fc2528 100644 --- a/applications/plugins/dht_temp_sensor/scenes/DHTMon_sensorEdit_scene.c +++ b/applications/plugins/dht_temp_sensor/scenes/DHTMon_sensorEdit_scene.c @@ -93,6 +93,9 @@ void sensorEdit_scene(PluginData* app) { app->item, DHTMon_GPIO_getName(app->currentSensorEdit->GPIO)); variable_item_list_add(variable_item_list, "Save", 1, NULL, app); + //Сброс выбранного пункта в ноль + variable_item_list_set_selected_item(variable_item_list, 0); + view_dispatcher_switch_to_view(app->view_dispatcher, ADDSENSOR_MENU_VIEW); } void sensorEdit_sceneRemove(void) {