diff --git a/Telegram/SourceFiles/core/shortcuts.cpp b/Telegram/SourceFiles/core/shortcuts.cpp index 43ccc4f8a7da7a..a6e3afd6aea0b1 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);