mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Display for editing circles own Header Text
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7327 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c945aa18dd
commit
269c228241
@ -99,6 +99,9 @@ void CreateCircleDialog::editExistingId(const RsGxsGroupId& circleId)
|
||||
/* load this circle */
|
||||
mIsExistingCircle = true;
|
||||
requestCircle(circleId);
|
||||
|
||||
ui.headerFrame->setHeaderText(tr("Edit Circle"));
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -111,10 +114,12 @@ void CreateCircleDialog::editNewId(bool isExternal)
|
||||
if (isExternal)
|
||||
{
|
||||
setupForExternalCircle();
|
||||
ui.headerFrame->setHeaderText(tr("Create New External Circle"));
|
||||
}
|
||||
else
|
||||
{
|
||||
setupForPersonalCircle();
|
||||
ui.headerFrame->setHeaderText(tr("Create New Personal Circle"));
|
||||
}
|
||||
|
||||
/* enable stuff that might be locked */
|
||||
@ -125,8 +130,7 @@ void CreateCircleDialog::setupForPersonalCircle()
|
||||
mIsExternalCircle = false;
|
||||
|
||||
/* hide distribution line */
|
||||
ui.headerFrame->setHeaderText(tr("Create New Personal Circle"));
|
||||
|
||||
|
||||
ui.groupBox_title->setTitle(tr("Personal Circle Details"));
|
||||
ui.frame_PgpTypes->hide();
|
||||
ui.frame_Distribution->hide();
|
||||
@ -141,8 +145,6 @@ void CreateCircleDialog::setupForExternalCircle()
|
||||
mIsExternalCircle = true;
|
||||
|
||||
/* show distribution line */
|
||||
ui.headerFrame->setHeaderText(tr("Create New External Circle"));
|
||||
|
||||
ui.groupBox_title->setTitle(tr("External Circle Details"));
|
||||
ui.frame_PgpTypes->show();
|
||||
ui.frame_Distribution->show();
|
||||
|
Loading…
Reference in New Issue
Block a user