Skip to content

Commit 37431da

Browse files
committed
1 parent 60f6cdc commit 37431da

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

chrome/content/quickfolders-model.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,6 @@ QuickFolders.Model = {
707707

708708
loadConfig: async function(preferences) {
709709
const prefs = QuickFolders.Preferences,
710-
options = QuickFolders.Options,
711710
util = QuickFolders.Util;
712711

713712
function changePref(pref) {
@@ -730,7 +729,8 @@ QuickFolders.Model = {
730729
case 'html:textarea':
731730
e.value = pref.val;
732731
if (e.id == "currentFolderBackground") {
733-
options.setCurrentToolbarBackgroundCustom();
732+
QuickFolders.Util.notifyTools.notifyBackground({ func: "updateNavigationBar" });
733+
// this will call QuickFolders.Interface.updateNavigationBar()
734734
}
735735
break;
736736
case 'menulist':
@@ -855,12 +855,16 @@ QuickFolders.Model = {
855855
element.value = jnode.val; // change color picker itself
856856
util.logDebug("Changing [" + elementInfo + "] : " + jnode.val);
857857
let info = jnode.elementInfo.split('.');
858-
if (info.length == 2)
858+
if (info.length == 2) {
859+
// global Options object doesn't exist anymore!
860+
/*
859861
options.styleUpdate(
860862
info[0], // element name e..g. ActiveTab
861863
info[1], // element style (color / background-color)
862864
jnode.val,
863865
element.getAttribute('previewLabel')); // preview tab / label
866+
*/
867+
}
864868
}
865869
break;
866870
}

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"author": "Axel Grude, Klaus Buecher/opto",
1111
"name" : "QuickFolders",
1212
"description" : "__MSG_extensionDescription__",
13-
"version" : "5.10pre46",
13+
"version" : "5.10pre47",
1414
"default_locale": "en",
1515
"developer" : {
1616
"name" : "Axel Grude, Klaus Buecher/opto",

revision.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
46
1+
47

0 commit comments

Comments
 (0)