We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e64cc2 commit 8c7d355Copy full SHA for 8c7d355
UnityLauncherPro/MainWindow.xaml.cs
@@ -2931,6 +2931,13 @@ public void ProcessExitedCallBack(Project proj)
2931
//Console.WriteLine("Process Exited: " + proj.Path);
2932
//var index = projectsSource.IndexOf(proj); // this fails since proj has changed after refresh (timestamp or other data)
2933
2934
+ // if currently editing field, cancel it (otherwise crash)
2935
+ IEditableCollectionView itemsView = gridRecent.Items;
2936
+ if (itemsView.IsAddingNew || itemsView.IsEditingItem)
2937
+ {
2938
+ gridRecent.CancelEdit(DataGridEditingUnit.Cell);
2939
+ }
2940
+
2941
// FIXME nobody likes extra loops.. but only 40 items to find correct project? but still..
2942
for (int i = 0, len = projectsSource.Count; i < len; i++)
2943
{
0 commit comments