mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge branch 'pr1613'
Persistent friends aliases, finally fixes #697 I discovered that the problem of temporary aliasing (which is a bug, according to #697) lied in the wrong config workflow: alias is being written to config object in memory, but not recorded to config file. This patch makes sure that new alias will get rendered in config file.
This commit is contained in:
commit
7135e7ec8a
|
@ -250,6 +250,7 @@ void FriendWidget::setAlias(const QString& _alias)
|
|||
Friend* f = FriendList::findFriend(friendId);
|
||||
f->setAlias(alias);
|
||||
Settings::getInstance().setFriendAlias(f->getToxID(), alias);
|
||||
Settings::getInstance().save(true);
|
||||
hide();
|
||||
show();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user