Changing hotkeys in the prefs now writes to the prefs and rebuilds the menu.
[MenuTunes.git] / PreferencesController.m
index af1838b..5c9f059 100755 (executable)
@@ -459,6 +459,8 @@ static PreferencesController *prefs = nil;
         toggleShuffleCombo = [combo copy];
         [toggleShuffleButton setTitle:string];
     }
+    [df setKeyCombo:combo forKey:setHotKey];
+    [controller rebuildMenu];
     [self cancelHotKey:sender];
 }