1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Merge pull request #103762 from KoBeWi/unload_reload

Remove unused Reload button
This commit is contained in:
Thaddeus Crews
2025-03-11 09:35:00 -05:00
2 changed files with 0 additions and 10 deletions

View File

@@ -574,8 +574,6 @@ void FileSystemDock::_notification(int p_what) {
case NOTIFICATION_THEME_CHANGED: {
_update_display_mode(true);
button_reload->set_button_icon(get_editor_theme_icon(SNAME("Reload")));
StringName mode_icon = "Panels1";
if (display_mode == DISPLAY_MODE_VSPLIT) {
mode_icon = "Panels2";
@@ -4090,13 +4088,6 @@ FileSystemDock::FileSystemDock() {
_set_current_path_line_edit_text(current_path);
toolbar_hbc->add_child(current_path_line_edit);
button_reload = memnew(Button);
button_reload->connect(SceneStringName(pressed), callable_mp(this, &FileSystemDock::_rescan));
button_reload->set_focus_mode(FOCUS_NONE);
button_reload->set_tooltip_text(TTR("Re-Scan Filesystem"));
button_reload->hide();
toolbar_hbc->add_child(button_reload);
button_toggle_display_mode = memnew(Button);
button_toggle_display_mode->connect(SceneStringName(pressed), callable_mp(this, &FileSystemDock::_change_split_mode));
button_toggle_display_mode->set_focus_mode(FOCUS_NONE);