#include "Action.h"
-#include "debug.h"
+#include "support/debug.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "GuiView.h"
void Action::action()
{
//LYXERR(Debug::ACTION, "calling LyXFunc::dispatch: func_: ");
- lyxView_.dispatch(func_);
+ theLyXFunc().setLyXView(&lyxView_);
+ lyx::dispatch(func_);
triggered(this);
}