From eab5935007fe08f0ec31ba5b3e3331eb2d026964 Mon Sep 17 00:00:00 2001 From: ATN Date: Mon, 31 Oct 2022 15:53:23 +0100 Subject: [PATCH] Added a signal connection to update buses editor on "bus_layout_changed" --- editor/editor_audio_buses.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/editor_audio_buses.cpp b/editor/editor_audio_buses.cpp index a040d918dfc..9a7397dab9c 100644 --- a/editor/editor_audio_buses.cpp +++ b/editor/editor_audio_buses.cpp @@ -1340,6 +1340,8 @@ EditorAudioBuses::EditorAudioBuses() { add_child(file_dialog); file_dialog->connect("file_selected", callable_mp(this, &EditorAudioBuses::_file_dialog_callback)); + AudioServer::get_singleton()->connect("bus_layout_changed", callable_mp(this, &EditorAudioBuses::_update_buses)); + set_process(true); }