2
0
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:
John Preston
2019-09-05 13:51:36 +03:00
parent 79106e0c01
commit 4951eeac98
24 changed files with 300 additions and 233 deletions

View File

@@ -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;
});
}