Skip to content

Commit

Permalink
WorkshopSubmissionItem: Update search terms after setting all properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Regynate committed Jan 28, 2025
1 parent 7165331 commit 66a0fa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ConfigApp/Tabs/WorkshopTab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ T getDataItem<T>(dynamic item, T defaultValue)
Sha256 = sha256,
};

submissionItem.UpdateSearchTerms();

// Remote submissions are fetched before local ones so this submission only exists locally
if (isLocal)
{
Expand Down
2 changes: 0 additions & 2 deletions ConfigApp/Workshop/WorkshopSubmissionItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ public WorkshopSubmissionItem(string id)
Id = id;

m_FileHandler = new(this);

UpdateSearchTerms();
}
}
}

0 comments on commit 66a0fa6

Please sign in to comment.