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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user