Update if == NOTIFICATION_* to switch statements to match coding style
This commit is contained in:
@ -80,8 +80,10 @@ protected:
|
||||
};
|
||||
|
||||
void ImportDefaultsEditor::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_PREDELETE) {
|
||||
inspector->edit(nullptr);
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_PREDELETE: {
|
||||
inspector->edit(nullptr);
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user