diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 9321f8250a..81044814c1 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -3979,6 +3979,12 @@ bool InsetTabular::getStatus(Cursor & cur, FuncRequest const & cmd, status.setEnabled(false); break; } + if (&cur.inset() != this) { + // we need the cursor to be _inside_ the table. + status.setEnabled(false); + status.message(from_utf8(N_("Cursor not in table"))); + return true; + } is >> s; // FIXME: We only check for the very first argument... int action = Tabular::LAST_ACTION;