add extra condition for PASTE to reflect tabularStack (bug 2377)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13413 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2006-03-17 13:15:17 +00:00
parent 141058b7fb
commit cac8b7abb6
3 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-03-17 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* insettabular.C (getStatus): add extra condition for PASTE in
respect of the tabularStack (bug 2377).
2006-03-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* insettabular.C (dist): fix miscalculation of rowheight (bug 2006)

View File

@ -1036,6 +1036,12 @@ bool InsetTabular::getStatus(LCursor & cur, FuncRequest const & cmd,
return cell(cur.idx())->getStatus(cur, cmd, status);
}
case LFUN_PASTE:
if (tabularStackDirty()) {
status.enabled(true);
return true;
}
case LFUN_INSET_MODIFY:
if (translate(cmd.getArg(0)) == TABULAR_CODE) {
status.enabled(true);

View File

@ -61,6 +61,8 @@ What's new
- Fix cursor positioning in tabulars (bug 2006).
- Fix copy and paste for multiple cells (bug 2377).
- Adjust cursor after backspace in change tracking mode (bug 2185).
- Update screen when cursor was between two spaces and goes to