]> git.lyx.org Git - lyx.git/blobdiff - src/cursor.C
* output_plaintext.C: cosmetics in comment: line length cannot be < 0
[lyx.git] / src / cursor.C
index 9a4170578647f9c787511996d0139cedb25ad7c5..e9c4d753494781bc4ac1c11b5bdc5942eb3c74b9 100644 (file)
@@ -41,6 +41,8 @@
 #include "mathed/InsetMathScript.h"
 #include "mathed/MathMacroTable.h"
 
+#include "frontends/Selection.h"
+
 #include "support/limited_stack.h"
 
 #include <boost/assert.hpp>
@@ -558,6 +560,7 @@ bool LCursor::selHandle(bool sel)
 
        resetAnchor();
        selection() = sel;
+       theSelection().haveSelection(sel);
        return true;
 }