Update ?script after save as

Originally committed to SVN as r5822.
This commit is contained in:
Thomas Goyne 2011-11-06 17:18:14 +00:00
parent 5176ae4407
commit 2e5cbf079e

View file

@ -168,6 +168,7 @@ void AssFile::Save(wxString filename, bool setfilename, bool addToRecent, wxStri
if (setfilename) {
savedCommitId = commitId;
this->filename = filename;
StandardPaths::SetPathValue("?script", wxFileName(filename).GetPath());
}
FileSave();