From ce4067e38bafe202653f8559c206b112a4b8b207 Mon Sep 17 00:00:00 2001 From: volzhs Date: Wed, 5 Sep 2018 11:03:10 +0900 Subject: Make expand/collapse all properties menu working --- editor/inspector_dock.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'editor/inspector_dock.cpp') 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; -- cgit v1.2.3