]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView2.C
more guii moving around.
[lyx.git] / src / BufferView2.C
index 15753ac8291e8ab72394377345c9c097fea360c0..fb7c29762da5137bc16ff119a6c82eabc50df4f6 100644 (file)
@@ -14,9 +14,9 @@
 #include "buffer.h"
 #include "lyxcursor.h"
 #include "lyxtext.h"
-#include "LyXView.h"
+#include "frontends/LyXView.h"
 #include "bufferlist.h"
-#include "lyxscreen.h"
+#include "frontends/screen.h"
 #include "LaTeX.h"
 #include "BufferView_pimpl.h"
 #include "language.h"
@@ -427,6 +427,8 @@ void BufferView::paste()
 
        // paste
        text->pasteSelection(this);
+       // bug 393
+       text->clearSelection();
        update(text, BufferView::SELECT|BufferView::FITCUR|BufferView::CHANGE);
 // why fake a selection only I think it should be a real one and not only
 // a painted one (Jug 20020318).