mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
[VDS] Fix crash when tab is opened before card database is loaded (#6553)
This commit is contained in:
parent
999733fc0f
commit
d363ec5154
1 changed files with 5 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue