Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_outliner / outliner_tools.c
index 7739d24..d6300b7 100644 (file)
@@ -380,7 +380,7 @@ static void object_select_hierarchy_cb(
        wmWindow *win = CTX_wm_window(C);
        int x = win->eventstate->mval[0];
        int y = win->eventstate->mval[1];
-       outliner_item_do_activate(C, x, y, true, true);
+       outliner_item_activate_or_toggle_closed(C, x, y, true, true);
 }