summaryrefslogtreecommitdiff
path: root/src/SubMenuNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SubMenuNode.cpp')
-rw-r--r--src/SubMenuNode.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/SubMenuNode.cpp b/src/SubMenuNode.cpp
index 664b009..9d5de39 100644
--- a/src/SubMenuNode.cpp
+++ b/src/SubMenuNode.cpp
@@ -67,6 +67,11 @@ string SubMenuNode::Text()
return _text;
}
+void SubMenuNode::Text(string newText)
+{
+ _text = newText;
+}
+
bool SubMenuNode::IsHidden()
{
return ChildLock::IsMenuHidden(_text.c_str());