mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-26 01:31:30 -05: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
@ -218,11 +218,10 @@ void GxsIdChooser::loadPrivateIds()
|
|||||||
setItemData(count() - 1, QString("%1_%2").arg(TYPE_CREATE_ID).arg(str), ROLE_SORT);
|
setItemData(count() - 1, QString("%1_%2").arg(TYPE_CREATE_ID).arg(str), ROLE_SORT);
|
||||||
setItemData(count() - 1, TYPE_CREATE_ID, ROLE_TYPE);
|
setItemData(count() - 1, TYPE_CREATE_ID, ROLE_TYPE);
|
||||||
}
|
}
|
||||||
}
|
setDefaultItem();
|
||||||
|
}
|
||||||
|
|
||||||
mFirstLoad = false;
|
mFirstLoad = false;
|
||||||
|
|
||||||
setDefaultItem();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GxsIdChooser::setDefaultItem()
|
void GxsIdChooser::setDefaultItem()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user