mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
Save font_size in correct group
A change of the font_size in preferences ended up in the wrong preferences group (the GeneralSettings group), appearing to the user as a non-saved preference. Fix is simple. Just set the the correct group before saving a change in font_size. Fixes: #780 Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
3ab016bfda
commit
828f608b2b
1 changed files with 1 additions and 0 deletions
|
@ -1906,6 +1906,7 @@ void DisplaySettingsObjectWrapper::setFontSize(double value)
|
|||
return;
|
||||
|
||||
QSettings s;
|
||||
s.beginGroup(group);
|
||||
s.setValue("font_size", value);
|
||||
prefs.font_size = value;
|
||||
QFont defaultFont = qApp->font();
|
||||
|
|
Loading…
Add table
Reference in a new issue