summaryrefslogtreecommitdiffstats
path: root/editor/editor_audio_buses.h
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-03-07 17:22:58 +0100
committerYuri Sizov <yuris@humnom.net>2023-03-10 22:24:18 +0100
commit68c18c0e2b8cb7c0e0f850f9bbdde31e30d166cf (patch)
tree824ac633c3772ca8fc5f4b08ccf76465b693e9cc /editor/editor_audio_buses.h
parentd8e242cba8fe33f2d4e3c3e4d5f08038ab063888 (diff)
downloadredot-engine-68c18c0e2b8cb7c0e0f850f9bbdde31e30d166cf.tar.gz
Improve logic related to editing audio buses (and prevent crashes)
Diffstat (limited to 'editor/editor_audio_buses.h')
-rw-r--r--editor/editor_audio_buses.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_audio_buses.h b/editor/editor_audio_buses.h
index 8a7f9b6456..9ff5afac66 100644
--- a/editor/editor_audio_buses.h
+++ b/editor/editor_audio_buses.h
@@ -172,6 +172,9 @@ class EditorAudioBuses : public VBoxContainer {
Timer *save_timer = nullptr;
String edited_path;
+ bool renaming_buses = false;
+ void _set_renaming_buses(bool p_renaming);
+
void _add_bus();
void _update_buses();
void _update_bus(int p_index);