diff options
author | Micky <micheledevita2@gmail.com> | 2022-09-30 12:28:39 +0200 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2022-10-13 20:13:05 +0200 |
commit | 6a77563b25bd8d71b4b091ba048905e190ee3955 (patch) | |
tree | e009afde1a33d41d0562605e354b5ffde1721cb3 /editor/connections_dialog.h | |
parent | 166df0896c4e601c58f7261145afba5ee4a088a5 (diff) | |
download | redot-engine-6a77563b25bd8d71b4b091ba048905e190ee3955.tar.gz |
Do not allow editing Scene-inherited signal connections
Inherited connections are also highlighted with the warning color in the Node dock.
Diffstat (limited to 'editor/connections_dialog.h')
-rw-r--r-- | editor/connections_dialog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/connections_dialog.h b/editor/connections_dialog.h index db2f855617..275cdf423c 100644 --- a/editor/connections_dialog.h +++ b/editor/connections_dialog.h @@ -211,13 +211,16 @@ class ConnectionsDock : public VBoxContainer { void _tree_item_selected(); void _tree_item_activated(); bool _is_item_signal(TreeItem &p_item); + bool _is_connection_inherited(Connection &p_connection); void _open_connection_dialog(TreeItem &p_item); void _open_connection_dialog(ConnectDialog::ConnectionData p_cd); void _go_to_script(TreeItem &p_item); void _handle_signal_menu_option(int p_option); + void _signal_menu_about_to_popup(); void _handle_slot_menu_option(int p_option); + void _slot_menu_about_to_popup(); void _rmb_pressed(Vector2 p_position, MouseButton p_button); void _close(); |