mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-03 11:54:30 -04:00
only reset GxsIdChooser to default item on first load. Fixes the bug of current identity that keeps changing in chat lobbies
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8190 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0e1b161537
commit
b654d7b21d
1 changed files with 2 additions and 3 deletions
|
@ -218,11 +218,10 @@ void GxsIdChooser::loadPrivateIds()
|
|||
setItemData(count() - 1, QString("%1_%2").arg(TYPE_CREATE_ID).arg(str), ROLE_SORT);
|
||||
setItemData(count() - 1, TYPE_CREATE_ID, ROLE_TYPE);
|
||||
}
|
||||
}
|
||||
setDefaultItem();
|
||||
}
|
||||
|
||||
mFirstLoad = false;
|
||||
|
||||
setDefaultItem();
|
||||
}
|
||||
|
||||
void GxsIdChooser::setDefaultItem()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue