From 6f5a76c63a15a6062cbd91a2b3bfe0c68e2d1d14 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 17 Dec 2019 12:33:12 +0300 Subject: [PATCH] [PE] Fix selected list type for custom bullet --- apps/presentationeditor/main/app/controller/Toolbar.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/presentationeditor/main/app/controller/Toolbar.js b/apps/presentationeditor/main/app/controller/Toolbar.js index f1aa976ca..504d03865 100644 --- a/apps/presentationeditor/main/app/controller/Toolbar.js +++ b/apps/presentationeditor/main/app/controller/Toolbar.js @@ -478,7 +478,10 @@ define([ switch(this._state.bullets.type) { case 0: this.toolbar.btnMarkers.toggle(true, true); - this.toolbar.mnuMarkersPicker.selectByIndex(this._state.bullets.subtype, 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: