mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #2152 from PhenomRetroShare/Fix_ChannelRsLink
Fix Channel RsLink if update before UI Init
This commit is contained in:
commit
5cbe61354f
@ -179,7 +179,7 @@ void GxsGroupFrameDialog::initUi()
|
|||||||
mInitialized = true;
|
mInitialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GxsGroupFrameDialog::showEvent(QShowEvent *event)
|
void GxsGroupFrameDialog::showEvent(QShowEvent* /*event*/)
|
||||||
{
|
{
|
||||||
if (!mInitialized )
|
if (!mInitialized )
|
||||||
{
|
{
|
||||||
@ -1086,7 +1086,9 @@ void GxsGroupFrameDialog::updateMessageSummaryListReal(RsGxsGroupId groupId)
|
|||||||
|
|
||||||
void GxsGroupFrameDialog::updateGroupSummary()
|
void GxsGroupFrameDialog::updateGroupSummary()
|
||||||
{
|
{
|
||||||
RsThread::async([this]()
|
if (!mInitialized) return;//UI not yet initialized
|
||||||
|
|
||||||
|
RsThread::async([this]()
|
||||||
{
|
{
|
||||||
auto groupInfo = new std::list<RsGxsGenericGroupData*>() ;
|
auto groupInfo = new std::list<RsGxsGenericGroupData*>() ;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user