]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Toolbars.h
Handle correctly zero table special arguments.
[lyx.git] / src / frontends / qt4 / Toolbars.h
index dbaf3aaa21246dc93663276cb5b55b8513e20a25..a65d05ebec1ea0a1a0b3da09221a749d7c1b9899 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <vector>
 #include <map>
+#include <memory>
 
 
 namespace lyx {
@@ -57,7 +58,7 @@ public:
        /// item type
        Type type_;
        /// action
-       FuncRequest func_;
+       std::shared_ptr<FuncRequest> func_; // non-null
        /// label/tooltip
        docstring label_;
        /// name