mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
also reset tags
This commit is contained in:
parent
246168936d
commit
7f9cf02d1e
1 changed files with 4 additions and 0 deletions
|
|
@ -314,6 +314,9 @@ DeckLoader *DeckEditorDeckDockWidget::getDeckList()
|
||||||
return deckModel->getDeckList();
|
return deckModel->getDeckList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Resets the tab to the state for a blank new tab.
|
||||||
|
*/
|
||||||
void DeckEditorDeckDockWidget::cleanDeck()
|
void DeckEditorDeckDockWidget::cleanDeck()
|
||||||
{
|
{
|
||||||
deckModel->cleanList();
|
deckModel->cleanList();
|
||||||
|
|
@ -321,6 +324,7 @@ void DeckEditorDeckDockWidget::cleanDeck()
|
||||||
commentsEdit->setText(QString());
|
commentsEdit->setText(QString());
|
||||||
hashLabel->setText(QString());
|
hashLabel->setText(QString());
|
||||||
updateBannerCardComboBox();
|
updateBannerCardComboBox();
|
||||||
|
deckTagsDisplayWidget->connectDeckList(deckModel->getDeckList());
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeckEditorDeckDockWidget::recursiveExpand(const QModelIndex &index)
|
void DeckEditorDeckDockWidget::recursiveExpand(const QModelIndex &index)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue