X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FLayoutBox.cpp;h=23017cf6f89e8f8d75ecedfdca2528560bf206b6;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=f8c99d59e8ccc36e2e51fe3d220a1bda3795c1ba;hpb=d99a821774290cd86f97b77f072af1753d1c3d9f;p=lyx.git diff --git a/src/frontends/qt4/LayoutBox.cpp b/src/frontends/qt4/LayoutBox.cpp index f8c99d59e8..23017cf6f8 100644 --- a/src/frontends/qt4/LayoutBox.cpp +++ b/src/frontends/qt4/LayoutBox.cpp @@ -687,7 +687,6 @@ void LayoutBox::selected(int index) // find corresponding text class if (d->text_class_->hasLayout(layoutName)) { FuncRequest const func(LFUN_LAYOUT, layoutName, FuncRequest::TOOLBAR); - theLyXFunc().setLyXView(&d->owner_); lyx::dispatch(func); updateContents(false); d->resetFilter();