Make expand/collapse all properties menu working
This commit is contained in:
parent
f50dd682f6
commit
ce4067e38b
1 changed files with 6 additions and 0 deletions
|
@ -36,6 +36,12 @@
|
||||||
|
|
||||||
void InspectorDock::_menu_option(int p_option) {
|
void InspectorDock::_menu_option(int p_option) {
|
||||||
switch (p_option) {
|
switch (p_option) {
|
||||||
|
case EXPAND_ALL: {
|
||||||
|
_menu_expandall();
|
||||||
|
} break;
|
||||||
|
case COLLAPSE_ALL: {
|
||||||
|
_menu_collapseall();
|
||||||
|
} break;
|
||||||
case RESOURCE_MAKE_BUILT_IN: {
|
case RESOURCE_MAKE_BUILT_IN: {
|
||||||
_unref_resource();
|
_unref_resource();
|
||||||
} break;
|
} break;
|
||||||
|
|
Loading…
Reference in a new issue