File tree 1 file changed +1
-6
lines changed 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 57
57
#include " editor/themes/editor_scale.h"
58
58
#include " scene/animation/animation_tree.h"
59
59
#include " scene/gui/check_box.h"
60
- #include " scene/main/window.h"
61
60
#include " scene/property_utils.h"
62
61
#include " scene/resources/packed_scene.h"
63
62
#include " servers/display_server.h"
64
- #include " servers/rendering_server.h"
65
63
66
64
#include " modules/modules_enabled.gen.h" // For regex.
67
65
#ifdef MODULE_REGEX_ENABLED
@@ -3636,10 +3634,7 @@ void SceneTreeDock::_filter_option_selected(int p_option) {
3636
3634
3637
3635
void SceneTreeDock::_append_filter_options_to (PopupMenu *p_menu, bool p_include_separator) {
3638
3636
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" ));
3643
3638
}
3644
3639
3645
3640
p_menu->add_item (TTR (" Filter by Type" ), FILTER_BY_TYPE);
You can’t perform that action at this time.
0 commit comments