Do we really need to open space insets on left click ? I removed that on 
purpose iirc.

JMarc


Juergen Spitzmueller <sp...@lyx.org> a écrit :
>commit 6781db79c580a7010ac0ed019c5fdebc249debfc
>Author: Juergen Spitzmueller <sp...@lyx.org>
>Date:   Sun Sep 22 12:49:43 2013 +0200
>
>    InsetSpace and InsetVSpace are clickable (part of #8847)
>
>diff --git a/src/insets/InsetSpace.h b/src/insets/InsetSpace.h
>index 7e32dc7..c4315a1 100644
>--- a/src/insets/InsetSpace.h
>+++ b/src/insets/InsetSpace.h
>@@ -139,6 +139,8 @@ public:
>       ///
>       bool hasSettings() const { return true; }
>       ///
>+      bool clickable(int, int) const { return true; }
>+      ///
>       InsetCode lyxCode() const { return SPACE_CODE; }
>       /// is this an expandible space (rubber length)?
>       bool isStretchableSpace() const;
>diff --git a/src/insets/InsetVSpace.h b/src/insets/InsetVSpace.h
>index 03e8d59..e94ebcd 100644
>--- a/src/insets/InsetVSpace.h
>+++ b/src/insets/InsetVSpace.h
>@@ -32,6 +32,8 @@ public:
>       ///
>       bool hasSettings() const { return true; }
>       ///
>+      bool clickable(int, int) const { return true; }
>+      ///
>       std::string contextMenuName() const;
>       ///
>       static void string2params(std::string const &, VSpace &);

Reply via email to