Made it so that clicking an item immediately shows the selection.

This commit is contained in:
Lars Brubaker 2016-01-08 13:19:58 -08:00
parent ba05e31275
commit 2cbc341687

View file

@ -247,12 +247,13 @@ namespace MatterHackers.MatterControl.PrintLibrary
// we only have single selection
if (this.IsSelectedItem)
{
// It is aleady selected, do nothing.
// It is already selected, do nothing.
}
else
{
libraryDataView.ClearSelectedItems();
libraryDataView.SelectedItems.Add(this);
Invalidate();
}
}
};