]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/LayoutBox.cpp
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / LayoutBox.cpp
index f8c99d59e8ccc36e2e51fe3d220a1bda3795c1ba..23017cf6f89e8f8d75ecedfdca2528560bf206b6 100644 (file)
@@ -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();