fix non-working edit>tabular menu

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3333 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-01-11 11:18:27 +00:00
parent 08ae48d886
commit 2f954c26fb
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insettabular.C (getStatus): add forgotten brace around multiline
if statement.
2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* insetfloat.C (validate): require "float" instead of "floats".

View File

@ -2223,9 +2223,10 @@ FuncStatus InsetTabular::getStatus(string const & what) const
break;
}
}
if (action == LyXTabular::LAST_ACTION)
if (action == LyXTabular::LAST_ACTION) {
status.clear();
return status.unknown(true);
}
string const argument = frontStrip(what.substr(tabularFeature[i].feature.length()));