From 99716eff1efef8f0dab557e696c1a22ff1a667e2 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 9 Jun 2024 20:11:21 +0200 Subject: [PATCH] impr: Make sure floating windows don't get reopened after restart --- lib/libimhex/include/hex/ui/view.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libimhex/include/hex/ui/view.hpp b/lib/libimhex/include/hex/ui/view.hpp index e82ecc1cd..f65bf34a0 100644 --- a/lib/libimhex/include/hex/ui/view.hpp +++ b/lib/libimhex/include/hex/ui/view.hpp @@ -158,6 +158,7 @@ namespace hex { explicit Floating(UnlocalizedString unlocalizedName) : Window(std::move(unlocalizedName), "") {} [[nodiscard]] ImGuiWindowFlags getWindowFlags() const override { return ImGuiWindowFlags_NoDocking; } + [[nodiscard]] bool shouldStoreWindowState() const override { return false; } }; /**