diff --git a/src/lyxfunc.C b/src/lyxfunc.C index a861048e66..7cffa284ff 100644 --- a/src/lyxfunc.C +++ b/src/lyxfunc.C @@ -1611,7 +1611,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd) view()->buffer()->markDirty(); if (view()->cursor().inTexted()) { - view()->owner()->updateLayoutChoice(); + owner->updateLayoutChoice(); } } }