Also flush prefs on user change, see previous commit
Flushing user changes to powder.pref was in fact the reason why I began this pref flushing thing at all, but of course Client handles user changes by modifying preferences directly, not through SetPref, so it skipped WritePrefs.
This commit is contained in:
parent
dfc8dc80bd
commit
8590a74785
@ -940,6 +940,7 @@ Client::~Client()
|
||||
void Client::SetAuthUser(User user)
|
||||
{
|
||||
authUser = user;
|
||||
WritePrefs();
|
||||
notifyAuthUserChanged();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user