]> git.lyx.org Git - features.git/blobdiff - src/insets/insettabular.C
Moved the_locking_inset form BufferView to LyXText (where it belongs!)
[features.git] / src / insets / insettabular.C
index 8b00bf278dfacf8bfa39da12a263e8764b6c875b..7b44fc76a8feb500cac2d08080b6e2f5f2b3a06b 100644 (file)
@@ -618,7 +618,7 @@ void InsetTabular::InsetButtonPress(BufferView * bv, int x, int y, int button)
        the_locking_inset->InsetUnlock(bv);
     }
     the_locking_inset = 0;
-    if (inset_hit && bv->the_locking_inset) {
+    if (inset_hit && bv->theLockingInset()) {
        if (ActivateCellInset(bv, x, y, button))
            the_locking_inset->InsetButtonPress(bv, x - inset_x,
                                                y - inset_y, button);