From f7c72106a4e83abb1ba73af702e20623d33d1d80 Mon Sep 17 00:00:00 2001 From: Dan Green Date: Thu, 19 Sep 2024 13:22:59 -0700 Subject: [PATCH] Fix "Already mapped" text not disappearing --- firmware/src/gui/pages/add_map_popup.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/src/gui/pages/add_map_popup.hh b/firmware/src/gui/pages/add_map_popup.hh index 8aa8101b1..fed4f092c 100644 --- a/firmware/src/gui/pages/add_map_popup.hh +++ b/firmware/src/gui/pages/add_map_popup.hh @@ -101,7 +101,8 @@ struct AddMapPopUp { std::string(full_name.module_name) + "\n" + std::string(full_name.element_name); lv_label_set_text_fmt(ui_MapExistsLabel, "Already Mapped To:\n%s", combined.c_str()); - } + } else + lv_label_set_text(ui_MapExistsLabel, ""); } } }