mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
reenable assertion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16503 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
47fbb72398
commit
3772b9f662
@ -144,9 +144,11 @@ namespace {
|
||||
replaceSelection(cur);
|
||||
|
||||
if (sel.empty()) {
|
||||
//const int old_pos = cur.pos();
|
||||
#ifdef ENABLE_ASSERTIONS
|
||||
const int old_pos = cur.pos();
|
||||
#endif
|
||||
cur.insert(new InsetMathHull(hullSimple));
|
||||
//BOOST_ASSERT(old_pos == cur.pos());
|
||||
BOOST_ASSERT(old_pos == cur.pos());
|
||||
cur.nextInset()->edit(cur, true);
|
||||
// don't do that also for LFUN_MATH_MODE
|
||||
// unless you want end up with always changing
|
||||
|
Loading…
Reference in New Issue
Block a user