]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
cleanup error messages
[lyx.git] / src / Cursor.cpp
index 5e8843245f89ec0e298d3309ce5c5eb2b97cdd25..c12d054ee79019c4bc73042cc20fc21d9cc40ee5 100644 (file)
@@ -1303,7 +1303,7 @@ void Cursor::niceInsert(docstring const & t, Parse::flags f, bool enter)
 {
        MathData ar(buffer());
        asArray(t, ar, f);
-       if (ar.size() == 1 && (selection() || enter))
+       if (ar.size() == 1 && (enter || selection()))
                niceInsert(ar[0]);
        else
                insert(ar);