X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FAction.cpp;h=c048729970d449da4f22c457a580ee980bd485f9;hb=ba76bf5eb85db5a10839fccee3430d906d3f7b70;hp=16996b410ffedc779e225b5cf01a134ea771c142;hpb=e1ce2f92db49d50c688414a32944be8e718faa2e;p=lyx.git diff --git a/src/frontends/qt4/Action.cpp b/src/frontends/qt4/Action.cpp index 16996b410f..c048729970 100644 --- a/src/frontends/qt4/Action.cpp +++ b/src/frontends/qt4/Action.cpp @@ -12,7 +12,7 @@ #include "Action.h" -#include "debug.h" +#include "support/debug.h" #include "FuncRequest.h" #include "FuncStatus.h" #include "GuiView.h" @@ -62,7 +62,8 @@ void Action::update() void Action::action() { //LYXERR(Debug::ACTION, "calling LyXFunc::dispatch: func_: "); - lyxView_.dispatch(func_); + theLyXFunc().setLyXView(&lyxView_); + lyx::dispatch(func_); triggered(this); }