You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Fix general issues with filesystem-related UI components in the editor
This commit is contained in:
@@ -861,7 +861,7 @@ FileDialog::FileDialog() {
|
||||
HBoxContainer *hbc = memnew(HBoxContainer);
|
||||
|
||||
dir_up = memnew(ToolButton);
|
||||
dir_up->set_tooltip(RTR("Go to parent folder"));
|
||||
dir_up->set_tooltip(RTR("Go to parent folder."));
|
||||
hbc->add_child(dir_up);
|
||||
dir_up->connect("pressed", this, "_go_up");
|
||||
|
||||
@@ -871,6 +871,7 @@ FileDialog::FileDialog() {
|
||||
dir->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
|
||||
refresh = memnew(ToolButton);
|
||||
refresh->set_tooltip(RTR("Refresh"));
|
||||
refresh->connect("pressed", this, "_update_file_list");
|
||||
hbc->add_child(refresh);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user