]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.cpp
step 1
[lyx.git] / src / insets / Inset.cpp
index c4894569abed5680bb3243cbf95f21caa07696c3..e9c736c61937d39cbcc0986757aad0fc1ba7e2ba 100644 (file)
@@ -347,7 +347,7 @@ void Inset::doDispatch(Cursor & cur, FuncRequest &cmd)
                // if the derived inset did not explicitly handle mouse_release,
                // we assume we request the settings dialog
                if (!cur.selection() && cmd.button() == mouse_button::button1
-                         && hasSettings()) {
+                   && clickable(cmd.x(), cmd.y()) && hasSettings()) {
                        FuncRequest tmpcmd(LFUN_INSET_SETTINGS);
                        dispatch(cur, tmpcmd);
                }