[VDS] Fix crash when tab is opened before card database is loaded (#6553)

This commit is contained in:
RickyRister 2026-01-23 00:58:46 -08:00 committed by GitHub
parent 999733fc0f
commit d363ec5154
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,11 @@ void DeckPreviewWidget::enterEvent(QEvent *event)
#endif
{
QWidget::enterEvent(event);
reloadIfModified();
// don't do reloads until widgets have been created
if (bannerCardComboBox != nullptr) {
reloadIfModified();
}
}
/**