]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPreview.h
Context menu item to add unknown branch (rest of #7643)
[lyx.git] / src / insets / InsetPreview.h
index 039b8e2f45ac06a7b43367853da23136718a7eb5..15380ba543ea75613ee6f3a2e91ff99a48bfb4ef 100644 (file)
@@ -49,8 +49,8 @@ public:
        
        bool descendable(BufferView const & /*bv*/) const { return true; }
 
-       docstring contextMenuName() const
-               { return from_ascii("context-preview"); }
+       std::string contextMenuName() const
+               { return "context-preview"; }
 
        void metrics(MetricsInfo & mi, Dimension & dim) const;