Misc sanity checks

This commit is contained in:
Henrik Rydgård
2025-06-14 08:45:02 +02:00
parent aea6df0ca4
commit 70f1edb28f
8 changed files with 37 additions and 18 deletions
+4 -2
View File
@@ -116,8 +116,10 @@ void TabbedUIDialogScreenWithGameBackground::RecreateViews() {
}
void TabbedUIDialogScreenWithGameBackground::EnsureTabs() {
_assert_(tabHolder_);
tabHolder_->EnsureAllCreated();
_dbg_assert_(tabHolder_);
if (tabHolder_) {
tabHolder_->EnsureAllCreated();
}
}
void TabbedUIDialogScreenWithGameBackground::ApplySearchFilter() {