Skip to content

Commit aad0bdd

Browse files
committed
Merge pull request godotengine#105132 from ProgrammerOnCoffee/fix-projectsettings-scroll
Reset `ProjectSettings` scroll when changing category
2 parents 4972a52 + 6141ac8 commit aad0bdd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/editor_sectioned_inspector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ void SectionedInspector::_section_selected() {
150150
selected_category = sections->get_selected()->get_metadata(0);
151151
filter->set_section(selected_category, sections->get_selected()->get_first_child() == nullptr);
152152
inspector->set_property_prefix(selected_category + "/");
153+
inspector->set_v_scroll(0);
153154
}
154155

155156
void SectionedInspector::set_current_section(const String &p_section) {

0 commit comments

Comments
 (0)