Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
Fixed Bug
Browse files Browse the repository at this point in the history
The first geometry of any session always failed
  • Loading branch information
clicketyclackety committed Apr 9, 2023
1 parent 5aa802b commit 1a7517c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/Crash/UI/UsersUIModeless.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,15 @@ internal static void ReDrawForm()
{
ActiveForm = new UsersForm();
}
try
{
ActiveForm.m_users = new ObservableCollection<User>(CrashDocRegistry.ActiveDoc.Users);
ActiveForm.Invalidate(true);

ActiveForm.m_users = new ObservableCollection<User>(CrashDocRegistry.ActiveDoc.Users);
ActiveForm.Invalidate(true);

ActiveForm.m_grid.DataStore = ActiveForm.m_users.Cast<object>();
ActiveForm.m_grid.Invalidate(true);
ActiveForm.m_grid.DataStore = ActiveForm.m_users.Cast<object>();
ActiveForm.m_grid.Invalidate(true);
}
catch { }
}

/// <summary>
Expand Down

0 comments on commit 1a7517c

Please sign in to comment.