summaryrefslogtreecommitdiff
path: root/editor/editor_properties.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-11-18 21:28:28 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-11-18 21:30:08 -0300
commit079c2630e2eeaca7c7a711ba974507e26cd998f3 (patch)
tree4e365244c347507057a2bc6e01f52ef9bafedeed /editor/editor_properties.h
parentf769e13c5ef8b8a0df681f4febff42c05ab05009 (diff)
Make sure RMB also works for resource editor in inspector, fixes #18994
Diffstat (limited to 'editor/editor_properties.h')
-rw-r--r--editor/editor_properties.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_properties.h b/editor/editor_properties.h
index 35d8f4d306..541abb1f22 100644
--- a/editor/editor_properties.h
+++ b/editor/editor_properties.h
@@ -552,6 +552,8 @@ class EditorPropertyResource : public EditorProperty {
void _resource_selected();
void _viewport_selected(const NodePath &p_path);
+ void _update_menu_items();
+
void _update_menu();
void _sub_inspector_property_keyed(const String &p_property, const Variant &p_value, bool);
@@ -564,6 +566,7 @@ class EditorPropertyResource : public EditorProperty {
bool can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const;
void drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from);
+ void _button_input(const Ref<InputEvent> &p_event);
void _open_editor_pressed();
protected: