mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 17:02:15 -07:00
Release Date DESC default
This commit is contained in:
parent
89f0d50f20
commit
cbb72d3b6f
1 changed files with 3 additions and 2 deletions
|
|
@ -31,12 +31,13 @@ PrintingSelector::PrintingSelector(QWidget *parent,
|
|||
|
||||
sortOptionsSelector = new QComboBox(this);
|
||||
sortOptionsSelector->addItems(SORT_OPTIONS);
|
||||
sortOptionsSelector->setCurrentIndex(2);
|
||||
connect(sortOptionsSelector, &QComboBox::currentTextChanged, this, &PrintingSelector::updateDisplay);
|
||||
sortToolBar->addWidget(sortOptionsSelector);
|
||||
|
||||
toggleSortOrder = new QPushButton(this);
|
||||
toggleSortOrder->setText(tr("Ascending"));
|
||||
descendingSort = false;
|
||||
toggleSortOrder->setText(tr("Descending"));
|
||||
descendingSort = true;
|
||||
connect(toggleSortOrder, &QPushButton::clicked, this, &PrintingSelector::updateSortOrder);
|
||||
sortToolBar->addWidget(toggleSortOrder);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue