From 910baff12aea9a207b9983fbc7fce9103aac1fca Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 19 Jul 2017 23:46:00 +0200 Subject: [PATCH] Fix hotkey assignment --- src/hotkeys.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotkeys.rs b/src/hotkeys.rs index 74632e292..043c6db22 100644 --- a/src/hotkeys.rs +++ b/src/hotkeys.rs @@ -105,7 +105,7 @@ where let (m_unmute_key, mute_err) = new_hotkey(&hotkey_prefs.mute_unmute_key); if let Some(key) = m_unmute_key { - self.up_key = Some(key); + self.mute_key = Some(key); } /* Setup volume uphotkey */ @@ -117,7 +117,7 @@ where /* Setup volume down hotkey */ let (m_down_key, down_err) = new_hotkey(&hotkey_prefs.vol_down_key); if let Some(key) = m_down_key { - self.up_key = Some(key); + self.down_key = Some(key); } if mute_err || up_err || down_err {