commit d6a93143ec2146210d79f58cac42f9608da86100
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Sat Aug 11 17:43:25 2018 +0200

    InsetInfo: enable inset dissolve
---
 lib/ui/stdcontext.inc    |    1 +
 src/insets/InsetInfo.cpp |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/ui/stdcontext.inc b/lib/ui/stdcontext.inc
index c3ba6ff..72ae60f 100644
--- a/lib/ui/stdcontext.inc
+++ b/lib/ui/stdcontext.inc
@@ -480,6 +480,7 @@ Menuset
        Menu "context-info"
                InfoArguments
                Separator
+               Item "Transform Field to Static Text|T" "inset-dissolve"
                Item "Copy Text|o" "inset-copy-as"
                Item "Settings...|S" "inset-settings info"
        End
diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp
index c46fc52..da78a11 100644
--- a/src/insets/InsetInfo.cpp
+++ b/src/insets/InsetInfo.cpp
@@ -585,6 +585,7 @@ bool InsetInfo::getStatus(Cursor & cur, FuncRequest const & 
cmd,
 
        case LFUN_INSET_DIALOG_UPDATE:
        case LFUN_INSET_COPY_AS:
+       case LFUN_INSET_DISSOLVE:
                flag.setEnabled(true);
                return true;
 

Reply via email to