aboutsummaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
diff options
context:
space:
mode:
authorvolzhs2017-05-03 06:02:06 +0900
committervolzhs2017-05-03 06:19:15 +0900
commit17e8e343fb900c3b308b3a6cb8611a16b476e71e (patch)
tree55c64ec319ab91f9ba8468c7f4c65d92044ef385 /editor/filesystem_dock.cpp
parent5a6ccce97d350011b599e793cea95aa4e7899395 (diff)
downloadgodot-17e8e343fb900c3b308b3a6cb8611a16b476e71e.tar.gz
godot-17e8e343fb900c3b308b3a6cb8611a16b476e71e.tar.zst
godot-17e8e343fb900c3b308b3a6cb8611a16b476e71e.zip
Revert "Add new editor and default theme (WIP)"
Diffstat (limited to 'editor/filesystem_dock.cpp')
-rw-r--r--editor/filesystem_dock.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index c324f474b..44ddfca21 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -150,11 +150,10 @@ 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("Search", "EditorIcons"));
+ search_icon->set_texture(get_icon("Zoom", "EditorIcons"));
button_hist_next->set_icon(get_icon("Forward", "EditorIcons"));
button_hist_prev->set_icon(get_icon("Back", "EditorIcons"));
@@ -1668,6 +1667,8 @@ 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);