disabled group restriction when not using circles in forums/posted/channels. Also disabled key sharing since it is unfinished

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7538 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-09-15 19:14:38 +00:00
parent d72354d7f0
commit 5e6fc0ff59
3 changed files with 51 additions and 34 deletions

View File

@ -280,6 +280,10 @@ void GxsGroupDialog::setupDefaults()
ui.comments_no->setChecked(true);
}
}
#ifndef RS_USE_CIRCLES
ui.typeGroup->setEnabled(false);
ui.typeLocal->setEnabled(false);
#endif
}
void GxsGroupDialog::setupVisibility()
@ -337,6 +341,9 @@ void GxsGroupDialog::setupReadonly()
ui.commentGroupBox->setEnabled(!(mReadonlyFlags & GXS_GROUP_FLAGS_COMMENTS));
ui.extraFrame->setEnabled(!(mReadonlyFlags & GXS_GROUP_FLAGS_EXTRA));
#ifndef UNFINISHED
ui.pubKeyShare_cb->setEnabled(false) ;
#endif
}
void GxsGroupDialog::newGroup()

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>695</width>
<height>577</height>
<height>588</height>
</rect>
</property>
<property name="windowTitle">
@ -132,6 +132,16 @@
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="toolTip">
<string>Will be used to send feedback</string>
</property>
<property name="text">
<string>Owner:</string>
</property>
</widget>
</item>
<item>
<widget class="GxsIdChooser" name="idChooser"/>
</item>