[DE] Fix Bug 56490
This commit is contained in:
parent
7daad891f8
commit
f51a11d316
|
@ -4159,9 +4159,10 @@ define([
|
||||||
if (frame_pr)
|
if (frame_pr)
|
||||||
menuDropCapAdvanced.setIconCls(frame_pr.get_DropCap()===Asc.c_oAscDropCap.Drop ? 'menu__icon dropcap-intext' : 'menu__icon dropcap-inmargin');
|
menuDropCapAdvanced.setIconCls(frame_pr.get_DropCap()===Asc.c_oAscDropCap.Drop ? 'menu__icon dropcap-intext' : 'menu__icon dropcap-inmargin');
|
||||||
|
|
||||||
menuStyleSeparator.setVisible(me.mode.canEditStyles && !isInChart);
|
var edit_style = me.mode.canEditStyles && !isInChart && !(value.imgProps && value.imgProps.isSmartArtInternal);
|
||||||
menuStyle.setVisible(me.mode.canEditStyles && !isInChart);
|
menuStyleSeparator.setVisible(edit_style);
|
||||||
if (me.mode.canEditStyles && !isInChart) {
|
menuStyle.setVisible(edit_style);
|
||||||
|
if (edit_style) {
|
||||||
me.menuStyleUpdate.setCaption(me.updateStyleText.replace('%1', DE.getController('Main').translationTable[window.currentStyleName] || window.currentStyleName));
|
me.menuStyleUpdate.setCaption(me.updateStyleText.replace('%1', DE.getController('Main').translationTable[window.currentStyleName] || window.currentStyleName));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue