]> git.lyx.org Git - features.git/commitdiff
Revert "Show full inset context-menu when clicking on text part of collapsible (...
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 2 Nov 2023 09:17:06 +0000 (10:17 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 2 Nov 2023 09:17:06 +0000 (10:17 +0100)
This reverts commit 6c4afc1ccb90301e7901b574d56335b89a5f4cb7.

This needs more thinking to get the menus sane.

src/insets/InsetCollapsible.cpp

index 7633af1050301c70a143e50dbdb7a29e17ff15c3..519033e24a3fe0834a5b6f1e16e84dcb8fc9f74f 100644 (file)
@@ -760,7 +760,7 @@ string InsetCollapsible::contextMenu(BufferView const & bv, int x,
        if (x < xo(bv) + dim.wid && y < yo(bv) + dim.des)
                return context_menu;
 
-       return context_menu + ";" + it_context_menu;
+       return it_context_menu;
 }