1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Remove unused Reload button

This commit is contained in:
kobewi
2025-03-07 15:08:50 +01:00
parent f2cc3f1275
commit 018eccdfd3
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);

View File

@@ -152,7 +152,6 @@ private:
Button *button_dock_placement = nullptr;
Button *button_toggle_display_mode = nullptr;
Button *button_reload = nullptr;
Button *button_file_list_display_mode = nullptr;
Button *button_hist_next = nullptr;
Button *button_hist_prev = nullptr;