mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
(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:
parent
8d914e2c52
commit
d121dae1c8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user