Skip to content

Commit

Permalink
Remove pointless _notification() function in `EditorPropertyOTVaria…
Browse files Browse the repository at this point in the history
…tion`
  • Loading branch information
YeldhamDev committed Mar 23, 2024
1 parent fe01776 commit 9f56287
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 9f56287

Please sign in to comment.