2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

version 0.9 stable prepared

This commit is contained in:
John Preston
2015-09-24 11:58:10 +03:00
parent 1731cfdc38
commit e3e7cf088c
9 changed files with 45 additions and 61 deletions

View File

@@ -1904,7 +1904,7 @@ void MembersBox::resizeEvent(QResizeEvent *e) {
}
void MembersBox::onLoaded() {
if (!_done.isHidden() && _inner.channel()->amCreator() && (_inner.channel()->count < cMaxGroupCount() || !_inner.channel()->isPublic())) {
if (!_done.isHidden() && _inner.channel()->amCreator() && (_inner.channel()->count < cMaxGroupCount() || !_inner.channel()->isPublic() || _inner.filter() == MembersFilterAdmins)) {
_add.show();
}
}
@@ -1944,7 +1944,7 @@ void MembersBox::hideAll() {
void MembersBox::showAll() {
ItemListBox::showAll();
if (_inner.channel()->amCreator() && _inner.isLoaded() && (_inner.channel()->count < cMaxGroupCount() || !_inner.channel()->isPublic())) {
if (_inner.channel()->amCreator() && _inner.isLoaded() && (_inner.channel()->count < cMaxGroupCount() || !_inner.channel()->isPublic() || _inner.filter() == MembersFilterAdmins)) {
_add.show();
} else {
_add.hide();