mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-22 17:45:09 -07:00
[TabDeckEditor] Refactor: pull up showPrintingSelector (#6964)
* [TabDeckEditor] Refactor: pull up showPrintingSelector * trailing newline
This commit is contained in:
parent
e0cbb7f06c
commit
46d3b820db
6 changed files with 9 additions and 29 deletions
|
|
@ -120,16 +120,6 @@ void TabDeckEditor::refreshShortcuts()
|
|||
aResetLayout->setShortcuts(shortcuts.getShortcut("TabDeckEditor/aResetLayout"));
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Displays the printing selector dock with the current card.
|
||||
*/
|
||||
void TabDeckEditor::showPrintingSelector()
|
||||
{
|
||||
printingSelectorDockWidget->printingSelector->setCard(cardInfoDockWidget->cardInfo->getCard().getCardPtr());
|
||||
printingSelectorDockWidget->printingSelector->updateDisplay();
|
||||
printingSelectorDockWidget->setVisible(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Loads deck editor layout from settings or resets to default.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue