summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.h
diff options
context:
space:
mode:
authortrollodel <33117082+trollodel@users.noreply.github.com>2021-09-18 09:33:18 +0200
committertrollodel <33117082+trollodel@users.noreply.github.com>2022-05-21 17:16:52 +0200
commit307427af89d4cbbcf32099f6009739f50c8bd0a0 (patch)
tree73915e75837b66834834b1e124687258f886b05e /editor/filesystem_dock.h
parent4173a4735eb1690132d30430f88fb7d2681c5727 (diff)
Add the button pressed to some signals in Tree
Diffstat (limited to 'editor/filesystem_dock.h')
-rw-r--r--editor/filesystem_dock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h
index 40e8b1b7c8..f20c0b2f76 100644
--- a/editor/filesystem_dock.h
+++ b/editor/filesystem_dock.h
@@ -258,10 +258,10 @@ private:
void _file_sort_popup(int p_id);
void _file_and_folders_fill_popup(PopupMenu *p_popup, Vector<String> p_paths, bool p_display_path_dependent_options = true);
- void _tree_rmb_select(const Vector2 &p_pos);
- void _tree_rmb_empty(const Vector2 &p_pos);
+ void _tree_rmb_select(const Vector2 &p_pos, MouseButton p_button);
void _file_list_item_clicked(int p_item, const Vector2 &p_pos, MouseButton p_mouse_button_index);
void _file_list_empty_clicked(const Vector2 &p_pos, MouseButton p_mouse_button_index);
+ void _tree_empty_click(const Vector2 &p_pos, MouseButton p_button);
void _tree_empty_selected();
struct FileInfo {