[TabDeckEditor] Refactor: pull up showPrintingSelector (#6964)

* [TabDeckEditor] Refactor: pull up showPrintingSelector

* trailing newline
This commit is contained in:
RickyRister 2026-06-03 09:35:48 -07:00 committed by GitHub
parent e0cbb7f06c
commit 46d3b820db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 9 additions and 29 deletions

View file

@ -233,14 +233,6 @@ bool TabDeckEditorVisual::actSaveDeckAs()
return result;
}
/** @brief Shows the printing selector dock and updates it with the current card. */
void TabDeckEditorVisual::showPrintingSelector()
{
printingSelectorDockWidget->printingSelector->setCard(cardInfoDockWidget->cardInfo->getCard().getCardPtr());
printingSelectorDockWidget->printingSelector->updateDisplay();
printingSelectorDockWidget->setVisible(true);
}
/** @brief Refreshes keyboard shortcuts for this tab from settings. */
void TabDeckEditorVisual::refreshShortcuts()
{

View file

@ -144,11 +144,6 @@ public slots:
*/
void onDeckChanged() override;
/**
* @brief Show the printing selector dock for the currently active card.
*/
void showPrintingSelector() override;
/**
* @brief Handle card clicks in the mainboard visual deck.
* @param event Mouse event triggering the action.