[PE] Fix selected list type for custom bullet

This commit is contained in:
Julia Radzhabova 2019-12-17 12:33:12 +03:00
parent 91434ae5a5
commit 6f5a76c63a

View file

@ -478,7 +478,10 @@ define([
switch(this._state.bullets.type) {
case 0:
this.toolbar.btnMarkers.toggle(true, true);
if (this._state.bullets.subtype!==undefined)
this.toolbar.mnuMarkersPicker.selectByIndex(this._state.bullets.subtype, true);
else
this.toolbar.mnuMarkersPicker.deselectAll(true);
this.toolbar.mnuMarkerSettings && this.toolbar.mnuMarkerSettings.setDisabled(this._state.bullets.subtype<0);
break;
case 1: