mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Check effects availability in all SendMenu-s.
This commit is contained in:
@@ -1297,8 +1297,8 @@ void TabbedSelector::scrollToY(int y) {
|
||||
}
|
||||
}
|
||||
|
||||
void TabbedSelector::showMenuWithType(SendMenu::Type type) {
|
||||
_menu = currentTab()->widget()->fillContextMenu(type);
|
||||
void TabbedSelector::showMenuWithDetails(SendMenu::Details details) {
|
||||
_menu = currentTab()->widget()->fillContextMenu(details);
|
||||
if (_menu && !_menu->empty()) {
|
||||
_menu->popup(QCursor::pos());
|
||||
}
|
||||
|
Reference in New Issue
Block a user