1
0
mirror of synced 2024-11-12 02:00:52 +01:00

fix: Don't show accept pattern popup if no patterns are available

This commit is contained in:
WerWolv 2023-08-19 19:12:48 +02:00
parent 6c8a90720f
commit 83e42ddfd9

View File

@ -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();
}