mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Check whether the the on_visibility changes signal is connected before attempting to connect it in data manager's main panel.
This commit is contained in:
parent
cdd8d73686
commit
58d707c695
@ -22,6 +22,7 @@ var _initialized : bool = false
|
||||
var _plugin : EditorPlugin = null
|
||||
|
||||
func _enter_tree():
|
||||
if !is_connected("visibility_changed", self, "on_visibility_changed"):
|
||||
connect("visibility_changed", self, "on_visibility_changed")
|
||||
|
||||
func on_visibility_changed():
|
||||
|
Loading…
Reference in New Issue
Block a user