Fix default background color being stuck when changing themes
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled

The color is only persisted if the user sets a color explicitly.
This commit is contained in:
luisangelsm
2026-03-30 21:55:37 +02:00
parent 11c305888f
commit 4bcdb3c7da
2 changed files with 16 additions and 2 deletions

View File

@ -63,6 +63,7 @@ private:
YACReaderSpinSliderWidget *gammaS;
QColor currentColor;
bool backgroundColorFollowsTheme = true;
QComboBox *scalingMethodCombo;