From 31ba8db33d2924ffb8c8916c05a40d463cc5d192 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Fri, 18 Dec 2015 13:48:33 +0100 Subject: [PATCH] Fix problem with saving of sound notify --- js/glowingbear.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/glowingbear.js b/js/glowingbear.js index 33eeed9..8102930 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -23,6 +23,8 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', $scope.command = ''; $scope.themes = ['dark', 'light']; + // Initialise all our settings, this needs to include all settings + // or else they won't be saved to the localStorage. settings.setDefaults({ 'theme': 'dark', 'host': 'localhost', @@ -38,6 +40,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout', 'useFavico': true, 'showtimestamp': true, 'showtimestampSeconds': false, + 'soundnotification': true, 'fontsize': '14px', 'fontfamily': (utils.isMobileUi() ? 'sans-serif' : 'Inconsolata, Consolas, Monaco, Ubuntu Mono, monospace'), 'readlineBindings': false,