mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-30 04:48:23 -05:00
[DeckDockWidget] Fix tree unexpanding when changing group by (#6458)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user