]> git.lyx.org Git - features.git/commitdiff
Show full inset context-menu when clicking on text part of collapsible (#10370)
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 20 Jun 2023 09:00:13 +0000 (11:00 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 20 Jun 2023 09:00:13 +0000 (11:00 +0200)
src/insets/InsetCollapsible.cpp

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