summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-02-17 09:50:01 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-02-17 09:50:01 +0100
commit3a7cb4a1e06a192cd450790b3243d4556d984d9b (patch)
tree3246faed31b6ccd2d33617a3fc7220de1b4214ad
parentc7aadab155a6e3d3d5445465f3d6eda18a31d2e4 (diff)
parenteab5935007fe08f0ec31ba5b3e3331eb2d026964 (diff)
Merge pull request #68083 from atngames/master
Added a signal connection to update buses editor on "bus_layout_changed"
-rw-r--r--editor/editor_audio_buses.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_audio_buses.cpp b/editor/editor_audio_buses.cpp
index f4cefc606b..ed7638414c 100644
--- a/editor/editor_audio_buses.cpp
+++ b/editor/editor_audio_buses.cpp
@@ -1336,6 +1336,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);
}