mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +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>
|
||||
|
||||
* insetgraphicsParams.C (Read): prevent LyX from hanging if the
|
||||
|
@ -668,8 +668,9 @@ void InsetERT::open(BufferView * bv)
|
||||
|
||||
void InsetERT::close(BufferView * bv) const
|
||||
{
|
||||
if (collapsed_)
|
||||
if (status_ == Collapsed || status_ == Inlined)
|
||||
return;
|
||||
|
||||
status(bv, Collapsed);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user