aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorJuan Linietsky2018-04-07 16:41:39 -0300
committerGitHub2018-04-07 16:41:39 -0300
commit187b14ae2423f791256710c819cb0401d87670c2 (patch)
treee5f957e0b9d7cd793fbfc3fabfa8a7853e7b99ee /main
parent1570a72eee4bc0efb46cc2185c44a12a0aa57943 (diff)
parenta6dc160d5cdf581c61d9c0ecd042aa7b5e958a87 (diff)
downloadgodot-187b14ae2423f791256710c819cb0401d87670c2.tar.gz
godot-187b14ae2423f791256710c819cb0401d87670c2.tar.zst
godot-187b14ae2423f791256710c819cb0401d87670c2.zip
Diffstat (limited to 'main')
-rw-r--r--main/tests/test_gui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/tests/test_gui.cpp b/main/tests/test_gui.cpp
index b7b6c2169..305b74971 100644
--- a/main/tests/test_gui.cpp
+++ b/main/tests/test_gui.cpp
@@ -185,6 +185,10 @@ public:
popup->add_item("Popup");
popup->add_check_item("Check Popup");
popup->set_item_checked(4, true);
+ popup->add_separator();
+ popup->add_radio_check_item("Option A");
+ popup->set_item_checked(6, true);
+ popup->add_radio_check_item("Option B");
OptionButton *options = memnew(OptionButton);