From 0979ab0b5f1cd411df86609177d0d89cc9c5752c Mon Sep 17 00:00:00 2001 From: AlexeyZavar Date: Mon, 19 Aug 2024 00:13:22 +0300 Subject: [PATCH] chore: revert remove shortcuts --- Telegram/SourceFiles/core/shortcuts.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/core/shortcuts.cpp b/Telegram/SourceFiles/core/shortcuts.cpp index 43ccc4f8a..a6e3afd6a 100644 --- a/Telegram/SourceFiles/core/shortcuts.cpp +++ b/Telegram/SourceFiles/core/shortcuts.cpp @@ -374,9 +374,11 @@ bool Manager::readCustomFile() { void Manager::fillDefaults() { const auto ctrl = Platform::IsMac() ? u"meta"_q : u"ctrl"_q; + set(u"ctrl+w"_q, Command::Close); set(u"ctrl+f4"_q, Command::Close); set(u"ctrl+l"_q, Command::Lock); set(u"ctrl+m"_q, Command::Minimize); + set(u"ctrl+q"_q, Command::Quit); set(u"media play"_q, Command::MediaPlay); set(u"media pause"_q, Command::MediaPause);