diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index 4e00f87de0..08f950b335 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -211,14 +211,20 @@ bool InsetBox::getStatus(Cursor & cur, FuncRequest const & cmd, { switch (cmd.action()) { - case LFUN_INSET_MODIFY: - if (cmd.getArg(0) == "changetype") { + case LFUN_INSET_MODIFY: { + string const first_arg = cmd.getArg(0); + if (first_arg == "changetype") { string const type = cmd.getArg(1); flag.setOnOff(type == params_.type); flag.setEnabled(!params_.inner_box || type != "Framed"); return true; } + if (first_arg == "box") { + flag.setEnabled(true); + return true; + } return InsetCollapsable::getStatus(cur, cmd, flag); + } case LFUN_INSET_DIALOG_UPDATE: flag.setEnabled(true); diff --git a/status.20x b/status.20x index a09ba9e533..f09f0132ff 100644 --- a/status.20x +++ b/status.20x @@ -122,6 +122,9 @@ What's new - Allow the key to add a new branch in document settings. Only and numpad- will also close the dialog. +- Box settings dialog didn't work if you were actually inside the box + (bug 8124). + - Fix tooltip for "Use Non-TeX Fonts" (bug 7787). - Fix pasting of LATIN CAPITAL LETTER SHARP S (bug 8057).