]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCollapsable.h
Fix bug 4166: Crash when middle button click on inset label
[features.git] / src / insets / InsetCollapsable.h
index c447db086df4676e95bfab2bab6c750087b85c29..1ef00985b81d27b1ba497e8a6c3bc8d76f5a8f04 100644 (file)
@@ -68,7 +68,9 @@ public:
        void cursorPos(BufferView const & bv, CursorSlice const & sl,
        ///
        bool boundary, int & x, int & y) const;
-       ///
+       /// Returns true if (mouse) action is over the inset's button.
+       /// Always returns false when the inset does not have a
+       /// button.
        bool hitButton(FuncRequest const &) const;
        ///
        docstring const getNewLabel(docstring const & l) const;