[Pkg-mozext-commits] [tabmixplus] 05/13: Update Shortcuts before updating the preference

David Prévot taffit at moszumanska.debian.org
Mon Oct 20 02:33:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 47fc1c77267a6d90ebd014783023da2bda238f73
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed Oct 15 20:11:30 2014 +0300

    Update Shortcuts before updating the preference
---
 modules/Shortcuts.jsm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Shortcuts.jsm b/modules/Shortcuts.jsm
index 947e5c9..95464b3 100644
--- a/modules/Shortcuts.jsm
+++ b/modules/Shortcuts.jsm
@@ -462,8 +462,8 @@ let KeyConfig = {
       if (this.syncFromKeyConfig(key, aData, shortcuts)) {
         // keyConfig extension code updates the DOM key, we don't need to do it
         Shortcuts.prefBackup = shortcuts;
-        Shortcuts.setShortcutsPref();
         Shortcuts.keys[key].value = shortcuts[key] || Shortcuts.keys[key].default;
+        Shortcuts.setShortcutsPref();
       }
     }
   },

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list