Skip to content

Commit

Permalink
beginInvoke initializeproductrecordinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
siblount committed Feb 6, 2024
1 parent 8d4558a commit 2bea279
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/DAZ_Installer.Windows/Forms/ProductRecordForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ public ProductRecordForm(DPProductRecordLite productRecord) : this()

public void InitializeProductRecordInfo(DPProductRecordLite record)
{
if (InvokeRequired)
{
BeginInvoke(() => InitializeProductRecordInfo(record));
return;
}
liteRecord = record;
productNameTxtBox.Text = record.Name;
tagsView.BeginUpdate();
Expand Down

0 comments on commit 2bea279

Please sign in to comment.