Use ImGuiWindowFlags_NoCollapse for popups (#2693)

### Problem description
Fix for issue [[Bug] "Go to address..." not working
#2549](https://github.com/WerWolv/ImHex/issues/2549#issuecomment-4147893751)

### Implementation description
Use `ImGuiWindowFlags_NoCollapse` flag for popups.
This commit is contained in:
Stephen Hewitt
2026-03-29 01:12:12 +11:00
committed by GitHub
parent 854535fec6
commit 3a8f19cc90

View File

@@ -60,7 +60,7 @@ namespace hex::plugin::builtin {
[[nodiscard]] bool isPinned() const { return m_isPinned; }
void setPinned(const bool pinned) { m_isPinned = pinned; }
[[nodiscard]] virtual ImGuiWindowFlags getFlags() const { return ImGuiWindowFlags_AlwaysAutoResize; }
[[nodiscard]] virtual ImGuiWindowFlags getFlags() const { return ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoCollapse; }
private:
bool m_isPinned = false;