You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
new file dialog!
-ItemList control for easier lists/thumbnails -New file dialog, with support for thumbnails, favorites, recent places, etc -Moved .fscache out of the project, no more bugs due to committed/pulled .fscache! -Dir dialog now sorts directories
This commit is contained in:
@@ -102,7 +102,7 @@ void ResourcePreloaderEditor::_load_pressed() {
|
||||
for(int i=0;i<extensions.size();i++)
|
||||
file->add_filter("*."+extensions[i]);
|
||||
|
||||
file->set_mode(FileDialog::MODE_OPEN_FILE);
|
||||
file->set_mode(EditorFileDialog::MODE_OPEN_FILE);
|
||||
|
||||
file->popup_centered_ratio();
|
||||
|
||||
@@ -310,7 +310,7 @@ ResourcePreloaderEditor::ResourcePreloaderEditor() {
|
||||
paste->set_text("Paste");
|
||||
hbc->add_child(paste);
|
||||
|
||||
file = memnew( FileDialog );
|
||||
file = memnew( EditorFileDialog );
|
||||
add_child(file);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user