Skip to content

Commit

Permalink
Merge pull request #89823 from YeldhamDev/variation,_not_notification
Browse files Browse the repository at this point in the history
Remove pointless `_notification()` function in `EditorPropertyOTVariation`
  • Loading branch information
akien-mga committed Mar 24, 2024
2 parents 1999b66 + 9f56287 commit 9293ced
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions editor/plugins/font_config_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,14 +383,6 @@ EditorPropertyFontMetaOverride::EditorPropertyFontMetaOverride(bool p_script) {
/* EditorPropertyOTVariation */
/*************************************************************************/

void EditorPropertyOTVariation::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
} break;
}
}

void EditorPropertyOTVariation::_property_changed(const String &p_property, const Variant &p_value, const String &p_name, bool p_changing) {
if (p_property.begins_with("keys")) {
Dictionary dict = object->get_dict();
Expand Down
1 change: 0 additions & 1 deletion editor/plugins/font_config_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ class EditorPropertyOTVariation : public EditorProperty {
EditorPaginator *paginator = nullptr;

protected:
void _notification(int p_what);
static void _bind_methods(){};

void _edit_pressed();
Expand Down

0 comments on commit 9293ced

Please sign in to comment.