[SSE] Don't show wizard for functions from quick access menu

This commit is contained in:
Julia Radzhabova 2020-05-07 18:40:58 +03:00
parent c49cb88ddc
commit f1c4773e29

View file

@ -96,7 +96,7 @@ define([
if (func.origin === 'more') {
this.showDialog(group);
} else {
this.api.asc_insertInCell(func.name, Asc.c_oAscPopUpSelectorType.FuncWizard, !!autocomplete);
this.api.asc_insertInCell(func.name, autocomplete ? Asc.c_oAscPopUpSelectorType.Func : Asc.c_oAscPopUpSelectorType.FuncWizard, !!autocomplete);
!autocomplete && this.updateLast10Formulas(func.origin);
}
}