mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 23:45:44 +00:00
Allow creating desktop part of multi-theme.
This commit is contained in:
@@ -822,8 +822,8 @@ void SetupSendMenu(
|
||||
};
|
||||
Core::InstallEventFilter(button, [=](not_null<QEvent*> e) {
|
||||
if (e->type() == QEvent::ContextMenu && showMenu()) {
|
||||
return true;
|
||||
return Core::EventFilter::Result::Cancel;
|
||||
}
|
||||
return false;
|
||||
return Core::EventFilter::Result::Continue;
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user