mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Include long setName in checkbox label
This commit is contained in:
parent
cdc7fbc965
commit
2cfd5b1a67
1 changed files with 2 additions and 1 deletions
|
|
@ -384,7 +384,8 @@ SetEntryWidget::SetEntryWidget(DlgSelectSetForCards *_parent, const QString &_se
|
||||||
setLayout(layout);
|
setLayout(layout);
|
||||||
|
|
||||||
QHBoxLayout *headerLayout = new QHBoxLayout();
|
QHBoxLayout *headerLayout = new QHBoxLayout();
|
||||||
checkBox = new QCheckBox(setName, this);
|
CardSetPtr set = CardDatabaseManager::getInstance()->getSet(setName);
|
||||||
|
checkBox = new QCheckBox("(" + set->getShortName() + ") - " + set->getLongName(), this);
|
||||||
connect(checkBox, &QCheckBox::checkStateChanged, parent, &DlgSelectSetForCards::updateCardLists);
|
connect(checkBox, &QCheckBox::checkStateChanged, parent, &DlgSelectSetForCards::updateCardLists);
|
||||||
expandButton = new QPushButton("+", this);
|
expandButton = new QPushButton("+", this);
|
||||||
countLabel = new QLabel(QString::number(count), this);
|
countLabel = new QLabel(QString::number(count), this);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue