Ram Watch - update values when editing, removing, and duplicating a watch, and whenever a value is added to the watch by an external dialog

This commit is contained in:
andres.delikat 2011-09-10 21:16:29 +00:00
parent b977ca94e9
commit e3d9706e9e
1 changed files with 4 additions and 1 deletions

View File

@ -80,8 +80,8 @@ namespace BizHawk.MultiClient
public void AddWatch(Watch w) public void AddWatch(Watch w)
{ {
watchList.Add(w); watchList.Add(w);
DisplayWatchList();
UpdateValues(); UpdateValues();
DisplayWatchList();
} }
private void LoadConfigSettings() private void LoadConfigSettings()
@ -497,6 +497,7 @@ namespace BizHawk.MultiClient
ListView.SelectedIndexCollection indexes = WatchListView.SelectedIndices; ListView.SelectedIndexCollection indexes = WatchListView.SelectedIndices;
if (indexes.Count > 0) if (indexes.Count > 0)
EditWatchObject(indexes[0]); EditWatchObject(indexes[0]);
UpdateValues();
} }
void RemoveWatch() void RemoveWatch()
@ -512,6 +513,7 @@ namespace BizHawk.MultiClient
indexes.Clear(); indexes.Clear();
DisplayWatchList(); DisplayWatchList();
} }
UpdateValues();
} }
void DuplicateWatch() void DuplicateWatch()
@ -532,6 +534,7 @@ namespace BizHawk.MultiClient
DisplayWatchList(); DisplayWatchList();
} }
} }
UpdateValues();
} }
void MoveUp() void MoveUp()