mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
save colours as rgb instead of argb
This commit is contained in:
parent
fb0a3e4a3b
commit
7b347cf5ac
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ def deck_options_ready() -> bytes:
|
||||||
|
|
||||||
def save_custom_colours() -> bytes:
|
def save_custom_colours() -> bytes:
|
||||||
colors = [
|
colors = [
|
||||||
QColorDialog.customColor(i).name(QColor.NameFormat.HexArgb)
|
QColorDialog.customColor(i).name(QColor.NameFormat.HexRgb)
|
||||||
for i in range(QColorDialog.customCount())
|
for i in range(QColorDialog.customCount())
|
||||||
]
|
]
|
||||||
aqt.mw.col.set_config("customColorPickerPalette", colors)
|
aqt.mw.col.set_config("customColorPickerPalette", colors)
|
||||||
|
|
Loading…
Reference in a new issue