mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 10:11:41 -05:00
channel admin appointment box bottomshadow bug fixed
This commit is contained in:
parent
742134c439
commit
8f6be1c6ac
1 changed files with 5 additions and 2 deletions
|
@ -1210,7 +1210,10 @@ void ContactsBox::init() {
|
||||||
|
|
||||||
connect(&_inner, SIGNAL(chosenChanged()), this, SLOT(onChosenChanged()));
|
connect(&_inner, SIGNAL(chosenChanged()), this, SLOT(onChosenChanged()));
|
||||||
connect(&_inner, SIGNAL(addRequested()), App::wnd(), SLOT(onShowAddContact()));
|
connect(&_inner, SIGNAL(addRequested()), App::wnd(), SLOT(onShowAddContact()));
|
||||||
if (_inner.chat() || _inner.channel()) {
|
if (_inner.channel() && _inner.channelFilter() == MembersFilterAdmins) {
|
||||||
|
_next.hide();
|
||||||
|
_cancel.hide();
|
||||||
|
} else if (_inner.chat() || _inner.channel()) {
|
||||||
connect(&_next, SIGNAL(clicked()), this, SLOT(onInvite()));
|
connect(&_next, SIGNAL(clicked()), this, SLOT(onInvite()));
|
||||||
_bottomShadow = new ScrollableBoxShadow(this);
|
_bottomShadow = new ScrollableBoxShadow(this);
|
||||||
} else if (_inner.creating() != CreatingGroupNone) {
|
} else if (_inner.creating() != CreatingGroupNone) {
|
||||||
|
@ -1326,7 +1329,7 @@ void ContactsBox::showAll() {
|
||||||
if (_inner.channel() && _inner.channelFilter() == MembersFilterAdmins) {
|
if (_inner.channel() && _inner.channelFilter() == MembersFilterAdmins) {
|
||||||
_next.hide();
|
_next.hide();
|
||||||
_cancel.hide();
|
_cancel.hide();
|
||||||
} else if (_inner.chat()) {
|
} else if (_inner.chat() || _inner.channel()) {
|
||||||
_next.show();
|
_next.show();
|
||||||
_cancel.show();
|
_cancel.show();
|
||||||
} else if (_inner.creating() != CreatingGroupNone) {
|
} else if (_inner.creating() != CreatingGroupNone) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue