mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
TextMetrics::editXY(): don't continue executing code when asserting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37915 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
076151f508
commit
8d06c1ebda
@ -1495,7 +1495,7 @@ Inset * TextMetrics::editXY(Cursor & cur, int x, int y,
|
||||
// This should be just before or just behind the
|
||||
// cursor position set above.
|
||||
LASSERT(inset == inset_before
|
||||
|| inset == pars[pit].getInset(pos), /**/);
|
||||
|| inset == pars[pit].getInset(pos), return 0);
|
||||
|
||||
// Make sure the cursor points to the position before
|
||||
// this inset.
|
||||
|
Loading…
Reference in New Issue
Block a user