mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-20 09:22:15 -07:00
check to disable pile view checkbox on init
This commit is contained in:
parent
e8261f1939
commit
76ee4d10a8
1 changed files with 4 additions and 0 deletions
|
|
@ -126,6 +126,10 @@ ZoneViewWidget::ZoneViewWidget(Player *_player,
|
|||
groupBySelector.setCurrentIndex(groupBySelector.findData(SettingsCache::instance().getZoneViewGroupBy()));
|
||||
sortBySelector.setCurrentIndex(sortBySelector.findData(SettingsCache::instance().getZoneViewSortBy()));
|
||||
pileViewCheckBox.setChecked(SettingsCache::instance().getZoneViewPileView());
|
||||
|
||||
if (CardList::NoSort == static_cast<CardList::SortOption>(groupBySelector.currentData().toInt())) {
|
||||
pileViewCheckBox.setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
retranslateUi();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue