summaryrefslogtreecommitdiff
path: root/editor/inspector_dock.cpp
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2018-09-05 11:03:10 +0900
committervolzhs <volzhs@gmail.com>2018-09-05 11:03:10 +0900
commitce4067e38bafe202653f8559c206b112a4b8b207 (patch)
treecf10afab17dfbabd8e99df737c2d04ccb2bcec8b /editor/inspector_dock.cpp
parentf50dd682f6a0f9506daaf16fed06f4bc9efa6599 (diff)
Make expand/collapse all properties menu working
Diffstat (limited to 'editor/inspector_dock.cpp')
-rw-r--r--editor/inspector_dock.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/inspector_dock.cpp b/editor/inspector_dock.cpp
index 0335053162..9145a66510 100644
--- a/editor/inspector_dock.cpp
+++ b/editor/inspector_dock.cpp
@@ -36,6 +36,12 @@
void InspectorDock::_menu_option(int p_option) {
switch (p_option) {
+ case EXPAND_ALL: {
+ _menu_expandall();
+ } break;
+ case COLLAPSE_ALL: {
+ _menu_collapseall();
+ } break;
case RESOURCE_MAKE_BUILT_IN: {
_unref_resource();
} break;