mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 13:21:34 +00:00
Don't save custom theme fonts when we uncheck these options
This commit is contained in:
parent
da5909639b
commit
ce989684d0
@ -916,8 +916,10 @@ public:
|
||||
// Change theme font
|
||||
bool reset_theme = false;
|
||||
{
|
||||
const FontInfo fontInfo = themeFont()->info();
|
||||
const FontInfo miniFontInfo = themeMiniFont()->info();
|
||||
const FontInfo fontInfo = (customThemeFont()->isSelected() ? themeFont()->info() :
|
||||
FontInfo());
|
||||
const FontInfo miniFontInfo = (customMiniFont()->isSelected() ? themeMiniFont()->info() :
|
||||
FontInfo());
|
||||
|
||||
auto fontStr = base::convert_to<std::string>(fontInfo);
|
||||
auto miniFontStr = base::convert_to<std::string>(miniFontInfo);
|
||||
|
Loading…
x
Reference in New Issue
Block a user