summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-08 12:28:19 +0100
committerGitHub <noreply@github.com>2019-11-08 12:28:19 +0100
commita22d0b51090f4c0f3bab17c6054fef78d85b2ff1 (patch)
tree97996dd718795123a1bb4aee250d008879fdff2e
parent67961368aa4b4b9ccb863c65bf40fb1c23dc0ee7 (diff)
parentc9d73014183bbef93fe55979074acbdefedfb1de (diff)
Merge pull request #33443 from dalexeev/master
Fixed initial title in audio buses editor
-rw-r--r--editor/editor_audio_buses.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/editor_audio_buses.cpp b/editor/editor_audio_buses.cpp
index b331a39535..acfdea28e2 100644
--- a/editor/editor_audio_buses.cpp
+++ b/editor/editor_audio_buses.cpp
@@ -1329,7 +1329,8 @@ EditorAudioBuses::EditorAudioBuses() {
add_child(top_hb);
file = memnew(Label);
- file->set_text(String(TTR("Layout")) + ": " + "default_bus_layout.tres");
+ String layout_path = ProjectSettings::get_singleton()->get("audio/default_bus_layout");
+ file->set_text(String(TTR("Layout")) + ": " + layout_path.get_file());
file->set_clip_text(true);
file->set_h_size_flags(SIZE_EXPAND_FILL);
top_hb->add_child(file);