InsetSpace and InsetVSpace are clickable (part of #8847)

This commit is contained in:
Juergen Spitzmueller 2013-09-22 12:49:43 +02:00
parent ce1503d4c5
commit 6781db79c5
2 changed files with 4 additions and 0 deletions

View File

@ -139,6 +139,8 @@ public:
/// ///
bool hasSettings() const { return true; } bool hasSettings() const { return true; }
/// ///
bool clickable(int, int) const { return true; }
///
InsetCode lyxCode() const { return SPACE_CODE; } InsetCode lyxCode() const { return SPACE_CODE; }
/// is this an expandible space (rubber length)? /// is this an expandible space (rubber length)?
bool isStretchableSpace() const; bool isStretchableSpace() const;

View File

@ -32,6 +32,8 @@ public:
/// ///
bool hasSettings() const { return true; } bool hasSettings() const { return true; }
/// ///
bool clickable(int, int) const { return true; }
///
std::string contextMenuName() const; std::string contextMenuName() const;
/// ///
static void string2params(std::string const &, VSpace &); static void string2params(std::string const &, VSpace &);