+2005-07-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * insettabular.C (getStatus): disable line and paragraph breaks
+ in non-fixed-width cells (bug 1938).
+
2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* insetfloat.C:
}
}
+ // disable in non-fixed-width cells
+ case LFUN_BREAKLINE:
+ case LFUN_BREAKPARAGRAPH:
+ case LFUN_BREAKPARAGRAPHKEEPLAYOUT:
+ case LFUN_BREAKPARAGRAPH_SKIP: {
+ if (tabular.getPWidth(cur.idx()).zero()) {
+ status.enabled(false);
+ return true;
+ }
+ }
+
case LFUN_INSET_MODIFY:
if (translate(cmd.getArg(0)) == TABULAR_CODE) {
status.enabled(true);