diff --git a/ManiVault/src/Set.cpp b/ManiVault/src/Set.cpp index a15b24050..7de57f07f 100644 --- a/ManiVault/src/Set.cpp +++ b/ManiVault/src/Set.cpp @@ -388,6 +388,11 @@ QString DatasetImpl::getGuiName() const return text(); } +void DatasetImpl::setGuiName(const QString& guiName) +{ + setText(guiName); +} + //void DatasetImpl::setText(const QString& text) //{ // WidgetAction::setText(text); diff --git a/ManiVault/src/Set.h b/ManiVault/src/Set.h index 425aa4991..8424a0526 100644 --- a/ManiVault/src/Set.h +++ b/ManiVault/src/Set.h @@ -101,6 +101,12 @@ class CORE_EXPORT DatasetImpl : public gui::WidgetAction /** Get the GUI name of the dataset */ QString getGuiName() const; + + /** + * Set gui name to \p guiName + * @param guiName GUI name + */ + void setGuiName(const QString& guiName); //void setText(const QString& text);