From c43fc027bceba7f259771cd18bb3f27de674891a Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 7 Feb 2008 15:41:56 +0000 Subject: [PATCH] * GuiSymbols: implement Dialog::getLfun() git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22840 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiSymbols.cpp | 2 +- src/frontends/qt4/GuiSymbols.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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: