diff --git a/cockatrice/src/client/ui/widgets/deck_editor/deck_editor_deck_dock_widget.cpp b/cockatrice/src/client/ui/widgets/deck_editor/deck_editor_deck_dock_widget.cpp index 6ac3f4fb9..d24182167 100644 --- a/cockatrice/src/client/ui/widgets/deck_editor/deck_editor_deck_dock_widget.cpp +++ b/cockatrice/src/client/ui/widgets/deck_editor/deck_editor_deck_dock_widget.cpp @@ -314,6 +314,9 @@ DeckLoader *DeckEditorDeckDockWidget::getDeckList() return deckModel->getDeckList(); } +/** + * Resets the tab to the state for a blank new tab. + */ void DeckEditorDeckDockWidget::cleanDeck() { deckModel->cleanList(); @@ -321,6 +324,7 @@ void DeckEditorDeckDockWidget::cleanDeck() commentsEdit->setText(QString()); hashLabel->setText(QString()); updateBannerCardComboBox(); + deckTagsDisplayWidget->connectDeckList(deckModel->getDeckList()); } void DeckEditorDeckDockWidget::recursiveExpand(const QModelIndex &index)