Ram Watch - Append file function should not set currentPath to the new file

This commit is contained in:
andres.delikat 2011-01-21 19:18:25 +00:00
parent e696508bc2
commit 0f210c634a
1 changed files with 3 additions and 2 deletions

View File

@ -19,8 +19,8 @@ namespace BizHawk.MultiClient
//Make a context menu for add/remove/Dup/etc, make the context menu & edit watch windows appear in relation to where they right clicked
//TODO: Call AskSave in main client X function
//Address can be changed, when that event is triggered, open the edit watch dialog
//Append sets the currentWatach file to the new file rather than the old!
//Save as displays the old file in the message label instead of the new one
//Import images into resource file
int defaultWidth; //For saving the default size of the dialog, so the user can restore if desired
int defaultHeight;
List<Watch> watchList = new List<Watch>();
@ -150,7 +150,8 @@ namespace BizHawk.MultiClient
using (StreamReader sr = file.OpenText())
{
currentWatchFile = path;
if (!append)
currentWatchFile = path;
int count = 0;
string s = "";