]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCollapsable.cpp
Fix bug #6642: Concatenate the context menus for: InsetCollapsables without a button...
[features.git] / src / insets / InsetCollapsable.cpp
index 72cd73b5b21fcab70d2b314773f8df2d1637bfab..c75285796c1dcaee350b9e1b0833a28339bb5180 100644 (file)
@@ -622,10 +622,10 @@ docstring InsetCollapsable::contextMenu(BufferView const & bv, int x,
        int y) const
 {
        if (decoration() == InsetLayout::CONGLOMERATE)
-               return contextMenuName();
+               return contextMenuName() + ";" + InsetText::contextMenuName();
 
        if (geometry(bv) == NoButton)
-               return contextMenuName();
+               return contextMenuName() + ";" + InsetText::contextMenuName();
 
        Dimension dim = dimensionCollapsed(bv);
        if (x < xo(bv) + dim.wid && y < yo(bv) + dim.des)