Show the save button guidance panel again, now that it doesn't hide too easily
This commit is contained in:
parent
e3061289a5
commit
41b772da4d
|
@ -2191,7 +2191,7 @@ Zotero.Prefs = new function(){
|
|||
if (!fromVersion) {
|
||||
fromVersion = 0;
|
||||
}
|
||||
var toVersion = 1;
|
||||
var toVersion = 2;
|
||||
if (fromVersion < toVersion) {
|
||||
for (var i = fromVersion + 1; i <= toVersion; i++) {
|
||||
switch (i) {
|
||||
|
@ -2207,6 +2207,14 @@ Zotero.Prefs = new function(){
|
|||
this.set('sync.storage.downloadMode.groups', 'on-sync');
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case 2:
|
||||
// Re-show saveButton guidance panel (and clear old saveIcon pref).
|
||||
// The saveButton guidance panel initially could auto-hide too easily.
|
||||
this.clear('firstRunGuidanceShown.saveIcon');
|
||||
this.clear('firstRunGuidanceShown.saveButton');
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.set('prefVersion', toVersion);
|
||||
|
|
Loading…
Reference in New Issue
Block a user