You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
fix file dialog filename cleared when selecting favorites
(cherry picked from commit 318d5442ec)
This commit is contained in:
committed by
Rémi Verschelde
parent
0d94bf707f
commit
96ff829816
@@ -1184,7 +1184,6 @@ void EditorFileDialog::_update_drives() {
|
|||||||
void EditorFileDialog::_favorite_selected(int p_idx) {
|
void EditorFileDialog::_favorite_selected(int p_idx) {
|
||||||
|
|
||||||
dir_access->change_dir(favorites->get_item_metadata(p_idx));
|
dir_access->change_dir(favorites->get_item_metadata(p_idx));
|
||||||
file->set_text("");
|
|
||||||
update_dir();
|
update_dir();
|
||||||
invalidate();
|
invalidate();
|
||||||
_push_history();
|
_push_history();
|
||||||
|
|||||||
Reference in New Issue
Block a user