mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
Member variable.
This commit is contained in:
parent
e2efb6e9a8
commit
ac3a128c85
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ VisualDeckStorageWidget::VisualDeckStorageWidget(QWidget *parent) : QWidget(pare
|
||||||
layout->addWidget(cardSizeWidget);
|
layout->addWidget(cardSizeWidget);
|
||||||
|
|
||||||
// Connect sorting change signal to refresh the file list
|
// Connect sorting change signal to refresh the file list
|
||||||
connect(sortComboBox, &QComboBox::currentIndexChanged, this, [this, sortComboBox]() {
|
connect(sortComboBox, &QComboBox::currentIndexChanged, this, [this]() {
|
||||||
sortOrder = static_cast<SortOrder>(sortComboBox->currentData().toInt());
|
sortOrder = static_cast<SortOrder>(sortComboBox->currentData().toInt());
|
||||||
refreshBannerCards(); // Refresh the banner cards with the new sort order
|
refreshBannerCards(); // Refresh the banner cards with the new sort order
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue