]> git.lyx.org Git - lyx.git/commitdiff
Show full inset context-menu when clicking on text part of collapsible (#10370)
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 3 Jun 2024 14:10:17 +0000 (16:10 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 3 Jun 2024 15:58:09 +0000 (17:58 +0200)
Re-fix this since #12907 has been resolved

(cherry picked from commit 7a85b1b7caeb3fb390aa488d7061e29b9a77cc6b)

src/insets/InsetCollapsible.cpp
status.24x

index 519033e24a3fe0834a5b6f1e16e84dcb8fc9f74f..7633af1050301c70a143e50dbdb7a29e17ff15c3 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 it_context_menu;
+       return context_menu + ";" + it_context_menu;
 }
 
 
index 830cf44644e05aa1754049959f4b2f8d4c082ca8..77db9f4f7e5a1c4ea8310ebf0e9ed901bbf8e304 100644 (file)
@@ -32,6 +32,9 @@ What's new
 
 - In context menus, more items are now shown on top level.
 
+- Show full inset context-menu when clicking on text part of collapsible
+  (bug 10370).
+
 - Allow relative statistics values in statusbar, improve update times for
   some UI and buffer operations.
 
@@ -65,7 +68,7 @@ What's new
 - Update acknowledgments handling in aastex63 layout 
   (cf. https://journals.aas.org/aastexguide/#acknowledgments)
 
-- Make LFUN_RESET_EXPORT work properly.
+- Make buffer-reset-export LFUN work properly.
 
 
 * USER INTERFACE