diff options
| author | Juan Linietsky | 2015-06-06 09:44:38 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-06-06 09:44:38 -0300 |
| commit | 9acab32daaea38e09c4d74d5f0340479d3dd41bd (patch) | |
| tree | c978e8206cc9319f32c71168fb612fc30b4ec809 /tools/editor/plugins/rich_text_editor_plugin.cpp | |
| parent | 07a466f6e6dd28bbb8b917690b634070537f1613 (diff) | |
| download | godot-9acab32daaea38e09c4d74d5f0340479d3dd41bd.tar.gz godot-9acab32daaea38e09c4d74d5f0340479d3dd41bd.tar.zst godot-9acab32daaea38e09c4d74d5f0340479d3dd41bd.zip | |
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
Diffstat (limited to 'tools/editor/plugins/rich_text_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/rich_text_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/rich_text_editor_plugin.cpp b/tools/editor/plugins/rich_text_editor_plugin.cpp index 91eb0a788..a0daad854 100644 --- a/tools/editor/plugins/rich_text_editor_plugin.cpp +++ b/tools/editor/plugins/rich_text_editor_plugin.cpp @@ -111,10 +111,10 @@ RichTextEditor::RichTextEditor() { options->get_popup()->add_item("Clear",CLEAR); options->get_popup()->connect("item_pressed", this,"_menu_option"); - file_dialog = memnew( FileDialog ); + file_dialog = memnew( EditorFileDialog ); add_child(file_dialog); file_dialog->add_filter("*.txt"); - file_dialog->set_mode(FileDialog::MODE_OPEN_FILE); + file_dialog->set_mode(EditorFileDialog::MODE_OPEN_FILE); file_dialog->connect("file_selected",this,"_file_selected"); } |
