just have the deck name

This commit is contained in:
RickyRister 2025-01-26 01:49:44 -08:00
parent 6d870dfe20
commit 9b0954dc9f

View file

@ -299,7 +299,7 @@ QMenu *CardInfoPictureWidget::createAddToOpenDeckMenu()
QList<TabDeckEditor *> deckEditorTabs = mainWindow->getTabSupervisor()->getDeckEditorTabs();
for (auto &deckEditorTab : deckEditorTabs) {
auto *addCardMenu = new QMenu(tr("Add card to") + " " + deckEditorTab->getTabText());
auto *addCardMenu = new QMenu(deckEditorTab->getTabText());
QAction *addCard = new QAction(this);
addCard->setText(tr("Mainboard"));
connect(addCard, &QAction::triggered, this, [this, deckEditorTab] {