[PE] Fix Bug 35540.
This commit is contained in:
parent
1587ae9f2d
commit
5a4204b18a
|
@ -1562,7 +1562,7 @@ define([
|
|||
this.api.asc_SetViewRulers(!checked);
|
||||
}
|
||||
|
||||
Common.localStorage.setItem('pe-hidden-rulers', checked ? 1 : 0);
|
||||
Common.localStorage.setBool('pe-hidden-rulers', checked);
|
||||
|
||||
Common.NotificationCenter.trigger('layout:changed', 'rulers');
|
||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
||||
|
|
|
@ -1391,7 +1391,7 @@ define([
|
|||
});
|
||||
|
||||
this.mnuitemHideStatusBar.setChecked(Common.localStorage.getBool('pe-hidden-status'), true);
|
||||
this.mnuitemHideRulers.setChecked(Common.localStorage.getItem("pe-hidden-rulers"), true);
|
||||
this.mnuitemHideRulers.setChecked(Common.localStorage.getBool("pe-hidden-rulers"), true);
|
||||
|
||||
// // Enable none paragraph components
|
||||
this.lockToolbar(PE.enumLock.disableOnStart, false, {array: this.slideOnlyControls.concat(this.shapeControls)});
|
||||
|
|
Loading…
Reference in a new issue