summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-19 01:40:25 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-19 01:40:25 +0200
commitb3f657a1c6500045f6aa52530b890e040f81d38d (patch)
tree45600130b335a26627880da5e3e9363b8acf01e0 /Applications
parent62d347d12a877acb42cf85e11f7e9a37a8a425ba (diff)
downloadserenity-b3f657a1c6500045f6aa52530b890e040f81d38d.zip
VisualBuilder: Expose GGroupBox name property.
Diffstat (limited to 'Applications')
-rw-r--r--Applications/VisualBuilder/VBWidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Applications/VisualBuilder/VBWidget.cpp b/Applications/VisualBuilder/VBWidget.cpp
index 162ef65d08..0ea3a8f77e 100644
--- a/Applications/VisualBuilder/VBWidget.cpp
+++ b/Applications/VisualBuilder/VBWidget.cpp
@@ -121,6 +121,10 @@ void VBWidget::setup_properties()
VB_ADD_PROPERTY(GButton, "caption", caption, set_caption, string);
}
+ if (m_type == VBWidgetType::GGroupBox) {
+ VB_ADD_PROPERTY(GGroupBox, "name", name, set_name, string);
+ }
+
if (m_type == VBWidgetType::GScrollBar) {
VB_ADD_PROPERTY(GScrollBar, "min", min, set_min, int);
VB_ADD_PROPERTY(GScrollBar, "max", max, set_max, int);