[DeckDockWidget] Fix tree unexpanding when changing group by

This commit is contained in:
RickyRister 2025-12-29 22:06:03 -08:00
parent 9d0bb0d51a
commit a0bef9a5b1

View file

@ -157,7 +157,7 @@ void DeckEditorDeckDockWidget::createDeckDock()
QTimer::singleShot(100, this, &DeckEditorDeckDockWidget::updateBannerCardComboBox);
});
connect(deckModel, &DeckListModel::cardAddedAt, this, &DeckEditorDeckDockWidget::recursiveExpand);
connect(deckModel, &DeckListModel::deckReplaced, this, &DeckEditorDeckDockWidget::expandAll);
connect(deckModel, &DeckListModel::modelReset, this, &DeckEditorDeckDockWidget::expandAll);
connect(bannerCardComboBox, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
&DeckEditorDeckDockWidget::setBannerCard);