diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-08-26 21:42:28 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2017-08-26 21:42:28 +0700 |
commit | 03db00e6f615d8dac096738a43570b1257be1079 (patch) | |
tree | db48f3344a2f2b7e4d93e56b1ad037d990d38d59 /editor/editor_audio_buses.h | |
parent | 1894157c9fab05984428d83a743b0fe1d720c80c (diff) | |
download | redot-engine-03db00e6f615d8dac096738a43570b1257be1079.tar.gz |
EditorAudioBus: Rename delete_popup, disable delete for Master
Rename `delete_popup` to `bus_popup`
Rename `_delete_pressed` to `_bus_popup_pressed`
Disable 'Delete Bus' option for Master Bus
Diffstat (limited to 'editor/editor_audio_buses.h')
-rw-r--r-- | editor/editor_audio_buses.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_audio_buses.h b/editor/editor_audio_buses.h index ef7f5e0adf..9d80ff67d1 100644 --- a/editor/editor_audio_buses.h +++ b/editor/editor_audio_buses.h @@ -66,7 +66,7 @@ class EditorAudioBus : public PanelContainer { OptionButton *send; PopupMenu *effect_options; - PopupMenu *delete_popup; + PopupMenu *bus_popup; PopupMenu *delete_effect_popup; Button *solo; @@ -78,7 +78,7 @@ class EditorAudioBus : public PanelContainer { bool updating_bus; void _gui_input(const Ref<InputEvent> &p_event); - void _delete_pressed(int p_option); + void _bus_popup_pressed(int p_option); void _name_changed(const String &p_new_name); void _name_focus_exit() { _name_changed(track_name->get_text()); } |