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:
csoler 2015-04-29 21:05:44 +00:00
parent 0e1b161537
commit b654d7b21d

View File

@ -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()