Skip to content

Commit

Permalink
chore: revert remove shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyZavar committed Aug 18, 2024
1 parent 6f754be commit 0979ab0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Telegram/SourceFiles/core/shortcuts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0979ab0

Please sign in to comment.