mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-19 05:26:07 -04:00
allow to change the author ID of a group during update. Set proper value in group author widget
This commit is contained in:
parent
18dd7ee7bd
commit
d34b2e885a
@ -468,6 +468,9 @@ void GxsGroupDialog::updateFromExistingMeta(const QString &description)
|
||||
ui.distributionValueLabel->setText(distribution_string) ;
|
||||
|
||||
ui.idChooser->loadIds(0, mGrpMeta.mAuthorId);
|
||||
|
||||
if(!mGrpMeta.mAuthorId.isNull())
|
||||
ui.idChooser->setChosenId(mGrpMeta.mAuthorId) ;
|
||||
|
||||
updateCircleOptions();
|
||||
}
|
||||
@ -552,7 +555,7 @@ bool GxsGroupDialog::prepareGroupMetaData(RsGroupMetaData &meta)
|
||||
std::cerr << " Invalid GroupName";
|
||||
std::cerr << std::endl;
|
||||
return false;
|
||||
}//if(name.isEmpty())
|
||||
}
|
||||
|
||||
// Fill in the MetaData as best we can.
|
||||
meta.mGroupName = std::string(name.toUtf8());
|
||||
@ -565,7 +568,7 @@ bool GxsGroupDialog::prepareGroupMetaData(RsGroupMetaData &meta)
|
||||
std::cerr << " Invalid Circles";
|
||||
std::cerr << std::endl;
|
||||
return false;
|
||||
}//if (!setCircleParameters(meta))
|
||||
}
|
||||
|
||||
std::cerr << "void GxsGroupDialog::prepareGroupMetaData() meta.mCircleType: ";
|
||||
std::cerr << meta.mCircleType << " Internal: " << meta.mInternalCircle;
|
||||
|
@ -113,6 +113,9 @@ void GxsIdChooser::loadIds(uint32_t chooserFlags, const RsGxsId &defId)
|
||||
mDefaultId = defId;
|
||||
clear();
|
||||
mFirstLoad = true;
|
||||
|
||||
updateDisplay(true);
|
||||
update(); // Qt flush
|
||||
}
|
||||
|
||||
void GxsIdChooser::setDefaultId(const RsGxsId &defId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user