1.0.5
This commit is contained in:
@@ -26,7 +26,14 @@ namespace VisionBuilder.UI.Windows.Components
|
||||
|
||||
private void _statisticsVm_PropertyChanged(object? sender, System.ComponentModel.PropertyChangedEventArgs e)
|
||||
{
|
||||
switch (e.PropertyName)
|
||||
if (InvokeRequired) Invoke(() => HandleStatisticsPropertyChange(e.PropertyName!));
|
||||
else
|
||||
HandleStatisticsPropertyChange(e.PropertyName!);
|
||||
}
|
||||
|
||||
private void HandleStatisticsPropertyChange(string propertyName)
|
||||
{
|
||||
switch (propertyName)
|
||||
{
|
||||
case nameof(StatisticsVM.SessionStarted):
|
||||
Clear();
|
||||
@@ -58,7 +65,6 @@ namespace VisionBuilder.UI.Windows.Components
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void InitializeFields()
|
||||
{
|
||||
UpdateMeta(StartedAtLabel,"");
|
||||
|
||||
Reference in New Issue
Block a user