mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 08:20:02 -05:00
fix: Don't show accept pattern popup if no patterns are available
This commit is contained in:
@@ -71,6 +71,10 @@ namespace hex::plugin::builtin {
|
||||
index++;
|
||||
}
|
||||
|
||||
// Close the popup if there aren't any patterns available
|
||||
if (index == 0)
|
||||
this->close();
|
||||
|
||||
ImGui::EndListBox();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user