]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.cpp
Choose a delimiter for lstinline (braces can not be used for some listings version)
[lyx.git] / src / insets / InsetExternal.cpp
index 0a9f0ec6420605aef52f652656d05e3e78ae35b8..56d9401ce55ddca1f37dfb650458ca4f930ad204 100644 (file)
@@ -450,7 +450,8 @@ void InsetExternal::doDispatch(Cursor & cur, FuncRequest & cmd)
                break;
 
        case LFUN_MOUSE_RELEASE:
-               InsetExternalMailer(*this).showDialog(&cur.bv());
+               if (!cur.selection())
+                       InsetExternalMailer(*this).showDialog(&cur.bv());
                break;
 
        default: