On Tue, Jun 04, 2024 at 10:35:44AM +0200, Pavel Sanda wrote:
> If you wonder how I came to such recipy, just couple days back I bumped in 
> the following problem:
> 
> 1) New file && Insert -> Float -> Figure
> 2) Dissolve inset via context menu on "Float: Figure" box
> 3) Try to dissolve inset via context menu of the remaining inset, couldn't 
> find that item by clicking anywhere

This patch add possibility to dissolve the caption inset of the float.

It's not particularly nice, because the menu entry is on the top above all
editing options and would feel more natural next to "Split inset" entry -
one could add it as an optitem there, but this will probably make it redundant
in many other places.
Opinion?

Pavel
diff --git a/lib/ui/stdcontext.inc b/lib/ui/stdcontext.inc
index 679cc9e603..5c88e4c4e8 100644
--- a/lib/ui/stdcontext.inc
+++ b/lib/ui/stdcontext.inc
@@ -224,6 +224,7 @@ Menuset
 #
 	Menu "context-caption"
 		SwitchCaptions
+		Item "Dissolve Inset|D" "inset-dissolve"
 	End
 
 
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to