diff --git a/cockatrice/src/game/zones/view_zone_widget.cpp b/cockatrice/src/game/zones/view_zone_widget.cpp index a51acb0c2..c53242e69 100644 --- a/cockatrice/src/game/zones/view_zone_widget.cpp +++ b/cockatrice/src/game/zones/view_zone_widget.cpp @@ -142,6 +142,9 @@ void ZoneViewWidget::processGroupBy(int index) SettingsCache::instance().setZoneViewGroupBy(option); zone->setGroupBy(option); + // disable pile view checkbox if we're not grouping by anything + pileViewCheckBox.setEnabled(option != CardList::NoSort); + // reset sortBy if it has the same value as groupBy if (option != CardList::NoSort && option == static_cast(sortBySelector.currentData().toInt())) {