Update if == NOTIFICATION_* to switch statements to match coding style
This commit is contained in:
@ -160,6 +160,7 @@ void PluginConfigDialog::_notification(int p_what) {
|
||||
name_edit->grab_focus();
|
||||
}
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_READY: {
|
||||
connect("confirmed", callable_mp(this, &PluginConfigDialog::_on_confirmed));
|
||||
get_cancel_button()->connect("pressed", callable_mp(this, &PluginConfigDialog::_on_cancelled));
|
||||
|
||||
Reference in New Issue
Block a user