mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fixes a bug where the insecure credential store could not save credentials.
Part of the fix for #1377
This commit is contained in:
parent
0e1f1196d6
commit
d4474c4ed4
|
@ -200,7 +200,9 @@ void Credentials::set(const QString &provider, const QString &name_,
|
|||
{
|
||||
auto &instance = insecureInstance();
|
||||
|
||||
instance.object()[name] = credential;
|
||||
auto obj = instance.object();
|
||||
obj[name] = credential;
|
||||
instance.setObject(obj);
|
||||
|
||||
queueInsecureSave();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue