From e5e059538bbbf1993df854bd95e9bbf4bb1d7aaa Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 18 Oct 2025 09:10:08 +0200 Subject: remove country list from config --- src/ui/ui_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/ui_main.cpp') diff --git a/src/ui/ui_main.cpp b/src/ui/ui_main.cpp index cf30840..84dab1b 100644 --- a/src/ui/ui_main.cpp +++ b/src/ui/ui_main.cpp @@ -112,7 +112,7 @@ void ui::draw_main() if (ImGui::Button(locale::get("nav.contacts"), ImVec2(buttonWidth, 24))) ui::set_state(ui::main_state::UI_CONTACTS); static bool reports_opened = true; - if (ImGui::Button(locale::get("nav.reports"), ImVec2(buttonWidth, 24))) reports_opened = !reports_opened; + ImGui::Button(locale::get("nav.reports"), ImVec2(buttonWidth, 24)); if (reports_opened) { ImGui::PushStyleVar(ImGuiStyleVar_FramePadding, ImVec2(20.0f, 0.0f)); -- cgit v1.2.3-70-g09d2