[PE] Fix Bug 43540
This commit is contained in:
parent
c48398ca67
commit
d72b54c730
|
@ -475,7 +475,7 @@ define([
|
||||||
case 0:
|
case 0:
|
||||||
this.toolbar.btnMarkers.toggle(true, true);
|
this.toolbar.btnMarkers.toggle(true, true);
|
||||||
this.toolbar.mnuMarkersPicker.selectByIndex(this._state.bullets.subtype, true);
|
this.toolbar.mnuMarkersPicker.selectByIndex(this._state.bullets.subtype, true);
|
||||||
this.toolbar.mnuMarkerSettings.setDisabled(this._state.bullets.subtype<0);
|
this.toolbar.mnuMarkerSettings && this.toolbar.mnuMarkerSettings.setDisabled(this._state.bullets.subtype<0);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
var idx = 0;
|
var idx = 0;
|
||||||
|
@ -504,7 +504,7 @@ define([
|
||||||
}
|
}
|
||||||
this.toolbar.btnNumbers.toggle(true, true);
|
this.toolbar.btnNumbers.toggle(true, true);
|
||||||
this.toolbar.mnuNumbersPicker.selectByIndex(idx, true);
|
this.toolbar.mnuNumbersPicker.selectByIndex(idx, true);
|
||||||
this.toolbar.mnuNumberSettings.setDisabled(idx==0);
|
this.toolbar.mnuNumberSettings && this.toolbar.mnuNumberSettings.setDisabled(idx==0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1670,8 +1670,8 @@ define([
|
||||||
|
|
||||||
this.toolbar.mnuMarkersPicker.selectByIndex(0, true);
|
this.toolbar.mnuMarkersPicker.selectByIndex(0, true);
|
||||||
this.toolbar.mnuNumbersPicker.selectByIndex(0, true);
|
this.toolbar.mnuNumbersPicker.selectByIndex(0, true);
|
||||||
this.toolbar.mnuMarkerSettings.setDisabled(true);
|
this.toolbar.mnuMarkerSettings && this.toolbar.mnuMarkerSettings.setDisabled(true);
|
||||||
this.toolbar.mnuNumberSettings.setDisabled(true);
|
this.toolbar.mnuNumberSettings && this.toolbar.mnuNumberSettings.setDisabled(true);
|
||||||
},
|
},
|
||||||
|
|
||||||
_getApiTextSize: function () {
|
_getApiTextSize: function () {
|
||||||
|
|
Loading…
Reference in a new issue