diff options
| author | Daniel J. Ramirez | 2017-01-22 22:40:43 -0600 |
|---|---|---|
| committer | Rémi Verschelde | 2017-04-27 08:04:57 +0200 |
| commit | f045efe007cffb87238ee519b7f33d710814ded7 (patch) | |
| tree | 9cb7b21ee73cd6a184ef2b18daff6867b98062d8 /editor/filesystem_dock.cpp | |
| parent | 5993a5fac9a108297fc7909d1a38abac471d037d (diff) | |
| download | godot-f045efe007cffb87238ee519b7f33d710814ded7.tar.gz godot-f045efe007cffb87238ee519b7f33d710814ded7.tar.zst godot-f045efe007cffb87238ee519b7f33d710814ded7.zip | |
Diffstat (limited to 'editor/filesystem_dock.cpp')
| -rw-r--r-- | editor/filesystem_dock.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 9d1011741..218ccd4b3 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -150,10 +150,11 @@ void FileSystemDock::_notification(int p_what) { } button_display_mode->connect("pressed", this, "_change_file_display"); //file_options->set_icon( get_icon("Tools","EditorIcons")); + files->connect("item_activated", this, "_select_file"); button_hist_next->connect("pressed", this, "_fw_history"); button_hist_prev->connect("pressed", this, "_bw_history"); - search_icon->set_texture(get_icon("Zoom", "EditorIcons")); + search_icon->set_texture(get_icon("Search", "EditorIcons")); button_hist_next->set_icon(get_icon("Forward", "EditorIcons")); button_hist_prev->set_icon(get_icon("Back", "EditorIcons")); @@ -1659,8 +1660,6 @@ FileSystemDock::FileSystemDock(EditorNode *p_editor) { button_reload->set_tooltip(TTR("Re-Scan Filesystem")); button_reload->hide(); - //toolbar_hbc->add_spacer(); - button_favorite = memnew(Button); button_favorite->set_flat(true); button_favorite->set_toggle_mode(true); |
