mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-11 13:50:13 +00:00
80ec6b6c78
The various items in the Actions menu are enabled or disabled based on the current selection. There's no SelectedIndices property in WPF ListViews, so we have to do things slightly differently. The SelectedItems list isn't kept sorted to match the list contents, so finding first/last item requires a bit of scanning. Also, rearranged some stuff. I'm trying to keep the old and new code somewhat parallel, to make it easier to walk through at the end and see if I've missed something. |
||
---|---|---|
.. | ||
CodeListItemStyle.xaml | ||
DataFileLoadIssue.xaml | ||
DataFileLoadIssue.xaml.cs | ||
DiscardChanges.xaml | ||
DiscardChanges.xaml.cs | ||
MainWindow.xaml | ||
MainWindow.xaml.cs | ||
ProjectLoadIssue.xaml | ||
ProjectLoadIssue.xaml.cs |