diff options
author | megalobyte <megalobyte@protonmail.com> | 2022-02-15 21:44:22 -0500 |
---|---|---|
committer | megalobyte <megalobyte@protonmail.com> | 2022-02-16 08:44:37 -0500 |
commit | 8824b6c5e9dc6a24a17452ded0c800ec267f812f (patch) | |
tree | 9902ce6e7a98f5deb6639b25c7e8d16354629889 /editor/plugins/debugger_editor_plugin.cpp | |
parent | 98b97d34df7f3ab2cafc3847358c231c3d357b40 (diff) |
Update if == NOTIFICATION_* to switch statements to match coding style
Diffstat (limited to 'editor/plugins/debugger_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/debugger_editor_plugin.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/editor/plugins/debugger_editor_plugin.cpp b/editor/plugins/debugger_editor_plugin.cpp index 32f58c6931..501becac57 100644 --- a/editor/plugins/debugger_editor_plugin.cpp +++ b/editor/plugins/debugger_editor_plugin.cpp @@ -177,8 +177,10 @@ void DebuggerEditorPlugin::_menu_option(int p_option) { } void DebuggerEditorPlugin::_notification(int p_what) { - if (p_what == NOTIFICATION_READY) { - _update_debug_options(); + switch (p_what) { + case NOTIFICATION_READY: { + _update_debug_options(); + } break; } } |