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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13411 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2006-03-17 13:11:32 +00:00
parent 8d914e2c52
commit d121dae1c8

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);