diff --git a/src/frontends/qt4/GuiSymbols.cpp b/src/frontends/qt4/GuiSymbols.cpp index 3ca8dd214f..718bc5e6c2 100644 --- a/src/frontends/qt4/GuiSymbols.cpp +++ b/src/frontends/qt4/GuiSymbols.cpp @@ -286,7 +286,7 @@ QString const GuiSymbols::getBlock(char_type c) const void GuiSymbols::dispatchParams() { - dispatch(FuncRequest(LFUN_SELF_INSERT, fromqstr(chosenLE->text()))); + dispatch(FuncRequest(getLfun(), fromqstr(chosenLE->text()))); } diff --git a/src/frontends/qt4/GuiSymbols.h b/src/frontends/qt4/GuiSymbols.h index 9dce0e2920..cf2507782f 100644 --- a/src/frontends/qt4/GuiSymbols.h +++ b/src/frontends/qt4/GuiSymbols.h @@ -33,6 +33,7 @@ public: void dispatchParams(); void enableView(bool enable); bool isBufferDependent() const { return true; } + virtual kb_action getLfun() const { return LFUN_SELF_INSERT; } //@} public Q_SLOTS: