[SSE] Fix applying settings in the viewer
This commit is contained in:
parent
579fb0d32a
commit
54374199c6
|
@ -68,6 +68,8 @@ define([
|
||||||
this.addListeners({
|
this.addListeners({
|
||||||
'FileMenu': {
|
'FileMenu': {
|
||||||
'settings:apply': function() {
|
'settings:apply': function() {
|
||||||
|
if (!me.mode || !me.mode.isEdit) return;
|
||||||
|
|
||||||
me.needUpdateFormula = true;
|
me.needUpdateFormula = true;
|
||||||
|
|
||||||
var lang = Common.localStorage.getItem("sse-settings-func-locale");
|
var lang = Common.localStorage.getItem("sse-settings-func-locale");
|
||||||
|
@ -135,6 +137,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
setMode: function(mode) {
|
setMode: function(mode) {
|
||||||
|
this.mode = mode;
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue