tab items must end conditionally

Fixes random heap corruption after opening the settings window
This commit is contained in:
goat 2024-05-08 22:01:35 +02:00
parent 616980f99f
commit 48931dd8d2
2 changed files with 19 additions and 29 deletions

View file

@ -158,7 +158,6 @@ internal class SettingsWindow : Window
}
ImGui.EndChild();
ImGui.EndTabItem();
}
else if (settingsTab.IsOpen)
{