+2002-03-05 Juergen Vigna <jug@sad.it>
+
+ * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
+ only that one in the inset. Should be enough.
+
+ * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
+
2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
* insettext.C (clear): a gross hack to set layout on a newly
return;
}
if (inset_hit && bv->theLockingInset()) {
- if (activateCellInsetAbs(bv, x, y, button))
+ // only activate the Inset so that no internal inset is hit
+ // by this call. It should be only hit by the insetButtonPress call.
+ if (activateCellInsetAbs(bv, 0, 0, 0))
the_locking_inset->insetButtonPress(bv,
x - inset_x,
y - inset_y,
the_locking_inset = 0;
inset->insetButtonPress(bv, x - inset_x,
y - inset_y, button);
- inset->edit(bv, x - inset_x, y - inset_y, button);
+// inset->edit(bv, x - inset_x, y - inset_y, button);
if (the_locking_inset)
updateLocal(bv, CURSOR, false);
no_selection = false;