[SSE] Fix Bug 33373
This commit is contained in:
parent
af181a55b2
commit
807a96bef2
|
@ -173,14 +173,19 @@ define([
|
||||||
if (this._state.ChartStyle!==value || this._isChartStylesChanged) {
|
if (this._state.ChartStyle!==value || this._isChartStylesChanged) {
|
||||||
this.cmbChartStyle.suspendEvents();
|
this.cmbChartStyle.suspendEvents();
|
||||||
var rec = this.cmbChartStyle.menuPicker.store.findWhere({data: value});
|
var rec = this.cmbChartStyle.menuPicker.store.findWhere({data: value});
|
||||||
|
if (rec)
|
||||||
this.cmbChartStyle.menuPicker.selectRecord(rec);
|
this.cmbChartStyle.menuPicker.selectRecord(rec);
|
||||||
|
else {
|
||||||
|
this.cmbChartStyle.fieldPicker.deselectAll();
|
||||||
|
this.cmbChartStyle.menuPicker.deselectAll();
|
||||||
|
}
|
||||||
this.cmbChartStyle.resumeEvents();
|
this.cmbChartStyle.resumeEvents();
|
||||||
|
|
||||||
if (this._isChartStylesChanged) {
|
if (this._isChartStylesChanged) {
|
||||||
if (rec)
|
if (rec)
|
||||||
this.cmbChartStyle.fillComboView(this.cmbChartStyle.menuPicker.getSelectedRec(),true);
|
this.cmbChartStyle.fillComboView(this.cmbChartStyle.menuPicker.getSelectedRec(),true);
|
||||||
else
|
else
|
||||||
this.cmbChartStyle.fillComboView(this.cmbChartStyle.menuPicker.store.at(0), true);
|
this.cmbChartStyle.fillComboView(this.cmbChartStyle.menuPicker.store.at(0), false);
|
||||||
}
|
}
|
||||||
this._state.ChartStyle=value;
|
this._state.ChartStyle=value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue