fyx the previous getStatus patch: enable the tabular dialog again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9815 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2005-04-15 08:13:54 +00:00
parent 27a238c271
commit aa17555cde
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-04-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* insettabular.C (getStatus): handle LFUN_INSET_MODIFY
2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* insetfloat.C (InsetFloat):

View File

@ -987,6 +987,13 @@ bool InsetTabular::getStatus(LCursor & cur, FuncRequest const & cmd,
}
}
case LFUN_INSET_MODIFY:
if (translate(cmd.getArg(0)) == TABULAR_CODE) {
status.enabled(true);
return true;
}
// Fall through
default:
// we try to handle this event in the insets dispatch function.
return cell(cur.idx())->getStatus(cur, cmd, status);