mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 08:52:15 -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);
|
||||
|
||||
// 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());
|
||||
refreshBannerCards(); // Refresh the banner cards with the new sort order
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue