[PE] Fix selected list type for custom bullet
This commit is contained in:
parent
91434ae5a5
commit
6f5a76c63a
|
@ -478,7 +478,10 @@ define([
|
||||||
switch(this._state.bullets.type) {
|
switch(this._state.bullets.type) {
|
||||||
case 0:
|
case 0:
|
||||||
this.toolbar.btnMarkers.toggle(true, true);
|
this.toolbar.btnMarkers.toggle(true, true);
|
||||||
|
if (this._state.bullets.subtype!==undefined)
|
||||||
this.toolbar.mnuMarkersPicker.selectByIndex(this._state.bullets.subtype, true);
|
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);
|
this.toolbar.mnuMarkerSettings && this.toolbar.mnuMarkerSettings.setDisabled(this._state.bullets.subtype<0);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
|
Loading…
Reference in a new issue