]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/Action.cpp
Please JMarc: Make sure we always pass through LyXFunc::dispatch() even if this is...
[features.git] / src / frontends / qt4 / Action.cpp
index 16996b410ffedc779e225b5cf01a134ea771c142..d15bdaecdd2980a20c15579c4348d76d4360d242 100644 (file)
@@ -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);
 }