From 6ab2e81f1c5acebfe935415b8be08188fd7906fa Mon Sep 17 00:00:00 2001 From: iTrooz Date: Fri, 6 Dec 2024 23:38:57 +0100 Subject: [PATCH] chore: Add documentation about popup opening --- main/gui/source/window/window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/gui/source/window/window.cpp b/main/gui/source/window/window.cpp index ed0aa6dc0..31ff78958 100644 --- a/main/gui/source/window/window.cpp +++ b/main/gui/source/window/window.cpp @@ -427,6 +427,8 @@ namespace hex { } // Open popups when plugins requested it + // We retry every frame until the popup actually opens + // It might not open the first time because another popup is already open { std::scoped_lock lock(m_popupMutex); m_popupsToOpen.remove_if([](const auto &name) {