Ram Watch - implement Move Up function
This commit is contained in:
parent
79c6ed4195
commit
3a98f07e53
|
@ -217,6 +217,18 @@ namespace BizHawk.MultiClient
|
|||
|
||||
void MoveUp()
|
||||
{
|
||||
ListView.SelectedIndexCollection indexes = WatchListView.SelectedIndices;
|
||||
//int x = indexes[0];
|
||||
Watch temp = new Watch();
|
||||
|
||||
foreach (int index in indexes)
|
||||
{
|
||||
temp = watchList[index];
|
||||
watchList.Remove(watchList[index]);
|
||||
watchList.Insert(index - 1, temp);
|
||||
}
|
||||
DisplayWatchList();
|
||||
//TODO: Set highlighted items to be what the user had selected (in their new position)
|
||||
}
|
||||
|
||||
void MoveDown()
|
||||
|
|
Loading…
Reference in New Issue