switch (cmd.action()) {
case LFUN_INSET_MODIFY:
- if (cmd.getArg(0) == "changetype")
- flag.setOnOff(cmd.getArg(1) == params_.type);
- flag.setEnabled(true);
- return true;
+ if (cmd.getArg(0) == "changetype") {
+ string const type = cmd.getArg(1);
+ flag.setOnOff(type == params_.type);
+ flag.setEnabled(!params_.inner_box || type != "Framed");
+ return true;
+ }
+ return InsetCollapsable::getStatus(cur, cmd, flag);
case LFUN_INSET_DIALOG_UPDATE:
flag.setEnabled(true);
os << "\\shadowbox{";
break;
case Shaded:
- // later
+ // must be set later becaue e.g. the width settings only work when
+ // it is inside a minipage or parbox
break;
case Doublebox:
os << "\\doublebox{";
text which is not explicitly marked in a different language, irrespective
of the multilingual status, except for LTR<=>RTL changes.
+- disable impossible settings in context menu of boxes (bug 7849).
+
- Augmented the tex2lyx --help message with the default paths (bug 6827).
- New command-line switch -v (--version) for tex2lyx showing build information