Skip to content

Commit 8599a70

Browse files
committed
Fixed review comment
1 parent 988719b commit 8599a70

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Trimble.Modus.Components/Controls/DropDown/TMDropDown.xaml.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,12 @@ public void Dispose()
384384
SelectionChanged = null;
385385
SelectionChangedCommand = null;
386386
ItemsSource = null;
387-
dropDownContents = null;
387+
if (dropDownContents != null)
388+
{
389+
dropDownContents.ChangeIndicatorWhenPopupRemove = null;
390+
dropDownContents = null;
391+
}
388392
previousSelection = null;
393+
389394
}
390395
}

0 commit comments

Comments
 (0)