diff --git a/src/insets/inset.h b/src/insets/inset.h index be38ca8cf1..621dca799d 100644 --- a/src/insets/inset.h +++ b/src/insets/inset.h @@ -42,7 +42,7 @@ public: /// void setInsetName(std::string const & s) { name_ = s; } /// - std::string const & getInsetName() const { return name_; } + virtual std::string const & getInsetName() const { return name_; } /// virtual void setBackgroundColor(LColor_color); ///