]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Action.cpp
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / Action.cpp
index 724d9daf8ba2ba658a7bd09f69e1fda69dd1d6ef..ca229fbbe5dc0eb48222c2b4a7b592c9de88eb8f 100644 (file)
@@ -63,9 +63,6 @@ void Action::action()
 {
        //LYXERR(Debug::ACTION, "calling LyXFunc::dispatch: func_: ");
 
-       if (lyxView_)
-               theLyXFunc().setLyXView(lyxView_);
-
        lyx::dispatch(func_);
        triggered(this);
 }
@@ -73,4 +70,4 @@ void Action::action()
 } // namespace frontend
 } // namespace lyx
 
-#include "Action_moc.cpp"
+#include "moc_Action.cpp"