mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix Helge's ERT-in-tabular bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10390 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
03672d1484
commit
b9898f8a87
@ -1,3 +1,8 @@
|
||||
2005-08-07 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* insettabular.C (getStatus): fix Helge's bug that a number of insets
|
||||
including ERT could not be inserted in tabular.
|
||||
|
||||
2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* insetinclude.C (string2params): fix typo in error message (bug 1963).
|
||||
|
@ -1003,7 +1003,8 @@ bool InsetTabular::getStatus(LCursor & cur, FuncRequest const & cmd,
|
||||
if (tablemode(cur)) {
|
||||
status.enabled(false);
|
||||
return true;
|
||||
}
|
||||
} else
|
||||
return cell(cur.idx())->getStatus(cur, cmd, status);
|
||||
}
|
||||
|
||||
// disable in non-fixed-width cells
|
||||
@ -1014,7 +1015,8 @@ bool InsetTabular::getStatus(LCursor & cur, FuncRequest const & cmd,
|
||||
if (tabular.getPWidth(cur.idx()).zero()) {
|
||||
status.enabled(false);
|
||||
return true;
|
||||
}
|
||||
} else
|
||||
return cell(cur.idx())->getStatus(cur, cmd, status);
|
||||
}
|
||||
|
||||
case LFUN_INSET_MODIFY:
|
||||
|
Loading…
Reference in New Issue
Block a user