diff options
| author | Juan Linietsky | 2016-05-15 20:25:51 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-05-15 20:25:51 -0300 |
| commit | 8b47e26f59ddca57f95dfae5ce807d382957a97e (patch) | |
| tree | bd0ca96cd9c3bc86d6de9e65dd86f90259e91aff /tools/editor/editor_node.cpp | |
| parent | bed3efb17ede58a2bfc177b47cb3a49091aea30a (diff) | |
| download | godot-8b47e26.tar.gz godot-8b47e26.tar.zst godot-8b47e26.zip | |
Changes to FileSystem Dock
-Replaced buttons for file actions fo RMB menu
-Added a split mode, if the dock is not sharing vertical space with
anything else
-imroved drag and drop support
Diffstat (limited to 'tools/editor/editor_node.cpp')
| -rw-r--r-- | tools/editor/editor_node.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index c9cec3b7f..bbd246499 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -2057,8 +2057,9 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { case FILE_QUICK_OPEN_FILE: { - quick_open->popup("Resource", false, true); - quick_open->set_title(TTR("Quick Search File..")); + //quick_open->popup("Resource", false, true); + //quick_open->set_title(TTR("Quick Search File..")); + scenes_dock->focus_on_filter(); } break; case FILE_RUN_SCRIPT: { @@ -3942,12 +3943,6 @@ void EditorNode::_update_recent_scenes() { void EditorNode::_quick_opened() { - if (current_option==FILE_QUICK_OPEN_FILE) { - String res_path = quick_open->get_selected(); - - scenes_dock->open(res_path); - return; - } Vector<String> files = quick_open->get_selected_files(); |
