]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlCommand.C
John's character.C patch (bug fix).
[lyx.git] / src / frontends / controllers / ControlCommand.C
index a3de4b74061a67eb8cff45b2ace8c0c3a665fa96..9a81d08cc6d7f4dff15cc78542a0191af835801a 100644 (file)
@@ -1,4 +1,3 @@
-// -*- C++ -*-
 /* This file is part of
  * ====================================================== 
  *
@@ -25,6 +24,7 @@
 #include "Dialogs.h"
 #include "LyXView.h"
 #include "lyxfunc.h"
+#include "BufferView.h"
 
 ControlCommand::ControlCommand(LyXView & lv, Dialogs & d, kb_action ac)
        : ControlInset<InsetCommand, InsetCommandParams>(lv, d),
@@ -56,6 +56,6 @@ void ControlCommand::applyParamsToInset()
 void ControlCommand::applyParamsNoInset()
 {
        if (action_ == LFUN_NOACTION) return;
-       lv_.getLyXFunc()->Dispatch(action_, params().getAsString());
+       lv_.getLyXFunc()->dispatch(action_, params().getAsString());
 }