mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 12:26:59 +00:00
Don't collapse InsetERT on close() if inlined (fix #293).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3830 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d246375c2c
commit
0b5694eeb0
@ -1,3 +1,7 @@
|
|||||||
|
2002-03-26 Juergen Vigna <jug@sad.it>
|
||||||
|
|
||||||
|
* insetert.C (close): don't collapse if inlined.
|
||||||
|
|
||||||
2002-03-25 Herbert Voss <voss@lyx.org>
|
2002-03-25 Herbert Voss <voss@lyx.org>
|
||||||
|
|
||||||
* insetgraphicsParams.C (Read): prevent LyX from hanging if the
|
* insetgraphicsParams.C (Read): prevent LyX from hanging if the
|
||||||
|
@ -668,8 +668,9 @@ void InsetERT::open(BufferView * bv)
|
|||||||
|
|
||||||
void InsetERT::close(BufferView * bv) const
|
void InsetERT::close(BufferView * bv) const
|
||||||
{
|
{
|
||||||
if (collapsed_)
|
if (status_ == Collapsed || status_ == Inlined)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
status(bv, Collapsed);
|
status(bv, Collapsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user