]> git.lyx.org Git - lyx.git/blobdiff - src/FuncRequest.cpp
Fix bug #2213 (part 1): GuiChanges lacks "Previous Change" button.
[lyx.git] / src / FuncRequest.cpp
index 2d36142421fc5c0e2cd67927b0bef59efae3e879..3eb0990a01f7d15e787bf1c6a0247c3914ef3271 100644 (file)
@@ -11,6 +11,7 @@
 #include <config.h>
 
 #include "FuncRequest.h"
+#include "LyXAction.h"
 
 #include <iostream>
 #include <sstream>
@@ -107,7 +108,8 @@ bool operator==(FuncRequest const & lhs, FuncRequest const & rhs)
 ostream & operator<<(ostream & os, FuncRequest const & cmd)
 {
        return os
-               << " action: " << cmd.action
+               << " action: " << cmd.action 
+               << " [" << lyxaction.getActionName(cmd.action) << "] " 
                << " arg: '" << to_utf8(cmd.argument()) << "'"
                << " x: " << cmd.x
                << " y: " << cmd.y;