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:
@@ -184,7 +184,7 @@ void ScriptCreateDialog::_built_in_pressed() {
|
||||
|
||||
void ScriptCreateDialog::_browse_path() {
|
||||
|
||||
file_browse->set_mode(FileDialog::MODE_SAVE_FILE);
|
||||
file_browse->set_mode(EditorFileDialog::MODE_SAVE_FILE);
|
||||
file_browse->clear_filters();
|
||||
List<String> extensions;
|
||||
|
||||
@@ -365,7 +365,7 @@ ScriptCreateDialog::ScriptCreateDialog() {
|
||||
set_hide_on_ok(false);
|
||||
set_title("Create Script for Node..");;
|
||||
|
||||
file_browse = memnew( FileDialog );
|
||||
file_browse = memnew( EditorFileDialog );
|
||||
file_browse->connect("file_selected",this,"_file_selected");
|
||||
add_child(file_browse);
|
||||
get_ok()->set_text("Create");
|
||||
|
||||
Reference in New Issue
Block a user