mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Robustify this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20379 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
22417091f3
commit
417c25c91b
@ -351,6 +351,8 @@ void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const
|
||||
void InsetCollapsable::cursorPos(BufferView const & bv,
|
||||
CursorSlice const & sl, bool boundary, int & x, int & y) const
|
||||
{
|
||||
if (geometry() == ButtonOnly)
|
||||
status_ = Open;
|
||||
BOOST_ASSERT(geometry() != ButtonOnly);
|
||||
|
||||
InsetText::cursorPos(bv, sl, boundary, x, y);
|
||||
|
Loading…
Reference in New Issue
Block a user