Skip to content

Commit

Permalink
Merge pull request #3915 from Ginger-Automation/BugFix/40687-CrashWhi…
Browse files Browse the repository at this point in the history
…leMovingMappedElements

BugFix - 40687 - crash while moving mapped elements
  • Loading branch information
Maheshkale447 committed Sep 22, 2024
2 parents e5bc701 + db1d3cf commit 53a67c2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Ginger/Ginger/UserControlsLib/ucGridView/ucGrid.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,14 @@ public RadioButton AddRadioButton(string content, string groupName, RoutedEventH
#region ##### Internal Methods
private void ObjListPropertyChanged(object? sender, System.ComponentModel.PropertyChangedEventArgs e)
{
GingerCore.General.DoEvents();
try
{
GingerCore.General.DoEvents();
}
catch(Exception ex)
{
Reporter.ToLog(eLogLevel.DEBUG, "Error on object list change", ex);
}
if (e.PropertyName == "CurrentItem")
{
this.Dispatcher.Invoke(() =>
Expand Down

0 comments on commit 53a67c2

Please sign in to comment.