Fixed some popups not appearing when no views are open

This commit is contained in:
WerWolv
2021-02-07 14:29:13 +01:00
parent 15bcf71aaf
commit 8e7bfb7f1a
6 changed files with 59 additions and 51 deletions
+2 -2
View File
@@ -257,9 +257,9 @@ namespace hex {
View::discardNavigationRequests();
}
ImGui::End();
}
void ViewPattern::drawAlwaysVisible() {
if (ImGui::BeginPopupModal("Accept Pattern", nullptr, ImGuiWindowFlags_AlwaysAutoResize)) {
ImGui::TextWrapped("One or more patterns compatible with this data type has been found");