mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
InsetTabular.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5777
Also OK for branch? git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28494 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fe980636db
commit
8d69d174c5
@ -2935,7 +2935,8 @@ void InsetTabular::setBuffer(Buffer & buf)
|
||||
|
||||
bool InsetTabular::insetAllowed(InsetCode code) const
|
||||
{
|
||||
if (code == MATHMACRO_CODE)
|
||||
if (code == MATHMACRO_CODE
|
||||
|| (code == CAPTION_CODE && !tabular.is_long_tabular))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user