2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Alpha 0.10.27: appoint admins in your supergroups from context menu.

This commit is contained in:
John Preston
2017-01-11 09:30:51 +04:00
parent c09dab2b3a
commit 30c9bcb985
25 changed files with 233 additions and 48 deletions

View File

@@ -2534,7 +2534,7 @@ void MediaView::contextMenuEvent(QContextMenuEvent *e) {
_menu->deleteLater();
_menu = 0;
}
_menu = new Ui::PopupMenu(st::mediaviewPopupMenu);
_menu = new Ui::PopupMenu(nullptr, st::mediaviewPopupMenu);
updateActions();
for_const (auto &action, _actions) {
_menu->addAction(action.text, this, action.member)->setEnabled(true);