mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-11 12:54:10 -07:00
Comments
Took 3 minutes
This commit is contained in:
parent
9f0b765fac
commit
a0dd59cdad
1 changed files with 2 additions and 1 deletions
|
|
@ -289,8 +289,9 @@ void DeckEditorDeckDockWidget::initializeFormats()
|
|||
formatComboBox->setEnabled(true);
|
||||
|
||||
// Populate with formats
|
||||
formatComboBox->addItem("", "");
|
||||
for (auto it = allFormats.constBegin(); it != allFormats.constEnd(); ++it) {
|
||||
QString displayText = QString("%1 (%2)").arg(it.key()).arg(it.value());
|
||||
QString displayText = QString("%1").arg(it.key());
|
||||
formatComboBox->addItem(displayText, it.key()); // store the raw key in itemData
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue