File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 5757#include " editor/themes/editor_scale.h"
5858#include " scene/animation/animation_tree.h"
5959#include " scene/gui/check_box.h"
60- #include " scene/main/window.h"
6160#include " scene/property_utils.h"
6261#include " scene/resources/packed_scene.h"
6362#include " servers/display_server.h"
64- #include " servers/rendering_server.h"
6563
6664#include " modules/modules_enabled.gen.h" // For regex.
6765#ifdef MODULE_REGEX_ENABLED
@@ -3636,10 +3634,7 @@ void SceneTreeDock::_filter_option_selected(int p_option) {
36363634
36373635void SceneTreeDock::_append_filter_options_to (PopupMenu *p_menu, bool p_include_separator) {
36383636 if (p_include_separator) {
3639- p_menu->add_separator ();
3640-
3641- p_menu->set_item_text (-1 , TTR (" Filters" ));
3642- p_menu->set_item_indent (-1 , -2 );
3637+ p_menu->add_separator (TTR (" Filters" ));
36433638 }
36443639
36453640 p_menu->add_item (TTR (" Filter by Type" ), FILTER_BY_TYPE);
You can’t perform that action at this time.
0 commit comments