]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCommandBuffer.cpp
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / GuiCommandBuffer.cpp
index 129439a3c4d77d68de5a1b0e423e3e5dda5ec4c6..b66860439b69ad3681032c9ad48519da7c663063 100644 (file)
@@ -304,7 +304,6 @@ docstring const GuiCommandBuffer::getCurrentState() const
 void GuiCommandBuffer::hide() const
 {
        FuncRequest cmd(LFUN_COMMAND_EXECUTE, "off");
-       theLyXFunc().setLyXView(view_);
        lyx::dispatch(cmd);
 }
 
@@ -359,7 +358,6 @@ void GuiCommandBuffer::dispatch(string const & str)
        downPB->setEnabled(history_pos_ != history_.end());
        FuncRequest func = lyxaction.lookupFunc(str);
        func.origin = FuncRequest::COMMANDBUFFER;
-       theLyXFunc().setLyXView(view_);
        lyx::dispatch(func);
 }