From: Bo Peng Date: Wed, 25 Jul 2007 05:12:52 +0000 (+0000) Subject: quick fix for bug: "select, select, middle-button paste" pastes the first selection X-Git-Tag: 1.6.10~9057 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=afdf83f235a9267dd38c7d13d2938f7e44c0ebc1;p=lyx.git quick fix for bug: "select, select, middle-button paste" pastes the first selection git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19199 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Text3.cpp b/src/Text3.cpp index ff2f7636af..5a84381b49 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -1013,6 +1013,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) // Single-click on work area case LFUN_MOUSE_PRESS: { + cap::saveSelection(bv->cursor()); // Right click on a footnote flag opens float menu if (cmd.button() == mouse_button::button3) cur.clearSelection();