fix: Don't show accept pattern popup if no patterns are available
This commit is contained in:
parent
6c8a90720f
commit
83e42ddfd9
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user