]> git.lyx.org Git - features.git/commitdiff
ensure that theLyXFunc is set to the proper LyXView.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 12 Oct 2006 15:23:49 +0000 (15:23 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 12 Oct 2006 15:23:49 +0000 (15:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15310 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/WorkArea.C

index 1ecab9fdc6bc1d91b2fcc50d21c9d6813b6f990f..55b7e15a9e56c28a59abe5f3f980478ed28f3f16 100644 (file)
@@ -260,6 +260,8 @@ void WorkArea::dispatch(FuncRequest const & cmd0)
                return;
        }
 
+       theLyXFunc().setLyXView(&lyx_view_);
+
        buffer_view_->workAreaDispatch(cmd0);
 
        // Skip these when selecting