// they call the actions they have to do with the insetButtonRel.
// function and not in the edit(). This should be changed
// (Jug 20020329)
+#ifdef WITH_WARNINGS
+#warning Please remove donot call inset->edit() here (Jug 20020812)
+#endif
inset_hit->edit(bv_, x, y, button);
}
return;
+2002-08-12 Juergen Vigna <jug@sad.it>
+
+ * insetcollapsable.C (edit): ignore if entered when pressing mouse
+ button 3.
+
2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
* insetbib.C (bibitemMaxWidth): ParagraphList changes
void InsetCollapsable::edit(BufferView * bv, int xp, int yp,
mouse_button::state button)
{
+#ifdef WITH_WARNINGS
+#warning Fix this properly in BufferView_pimpl::workAreaButtonRelease
+#endif
+ if (button == mouse_button::button3)
+ return;
+
UpdatableInset::edit(bv, xp, yp, button);
if (collapsed_) {