From 8928e0d8939f4ebbfe986042d17560d017885dd7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 3 Mar 2023 23:13:38 +0100 Subject: fix gcc warning --- editor/imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/imgui.cpp b/editor/imgui.cpp index 371eed80..753475d3 100644 --- a/editor/imgui.cpp +++ b/editor/imgui.cpp @@ -174,7 +174,7 @@ void app::do_popup_menu() void app::kill_popups(bool hard) { - _popup_target = { .target = popup_target_type::none }; + _popup_target = {}; ImGui::CloseCurrentPopup(); if (hard) -- cgit v1.2.3