]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetText.cpp
Fix bug #6642: Concatenate the context menus for: InsetCollapsables without a button...
[features.git] / src / insets / InsetText.cpp
index 68220af5d671852129a9c154001347742edf02d8..c8c8175036aa2a5dfb2b20b893568c6643864e27 100644 (file)
@@ -813,6 +813,15 @@ void InsetText::completionPosAndDim(Cursor const & cur, int & x, int & y,
 }
 
 
+docstring InsetText::contextMenuName() const
+{
+       docstring context_menu = contextMenuName();
+       if (context_menu != InsetText::contextMenuName())
+               context_menu += ";" + InsetText::contextMenuName(); 
+       return context_menu;
+}
+
+
 docstring InsetText::contextMenuName() const
 {
        return from_ascii("context-edit");