Fix bug where titles_as_cw would get the value of titles_only.

This commit is contained in:
tastytea 2019-12-28 06:47:56 +01:00
parent 8b0c2500f9
commit 527c2347ea
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -260,7 +260,7 @@ void Config::write()
_json[_profile]["max_size"] = data.max_size;
// Leave skip.
_json[_profile]["titles_as_cw"] = data.titles_as_cw;
_json[_profile]["titles_as_cw"] = data.titles_only;
_json[_profile]["titles_only"] = data.titles_only;
ofstream file{get_filename().c_str()};
if (file.good())