mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 07:22:16 -07:00
Do not color whole settings page
This commit is contained in:
parent
f29896d807
commit
afcf462627
1 changed files with 1 additions and 1 deletions
|
|
@ -468,7 +468,7 @@ AppearanceSettingsPage::AppearanceSettingsPage()
|
||||||
connect(pushButton, &QPushButton::clicked, this, [index, pushButton]() {
|
connect(pushButton, &QPushButton::clicked, this, [index, pushButton]() {
|
||||||
auto &cardCounterSettings = SettingsCache::instance().cardCounters();
|
auto &cardCounterSettings = SettingsCache::instance().cardCounters();
|
||||||
|
|
||||||
auto newColor = QColorDialog::getColor(cardCounterSettings.color(index), pushButton);
|
auto newColor = QColorDialog::getColor(cardCounterSettings.color(index), this);
|
||||||
if (!newColor.isValid())
|
if (!newColor.isValid())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue