forked from mia/Aegisub
Update ?script after save as
Originally committed to SVN as r5822.
This commit is contained in:
parent
5176ae4407
commit
2e5cbf079e
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ void AssFile::Save(wxString filename, bool setfilename, bool addToRecent, wxStri
|
||||||
if (setfilename) {
|
if (setfilename) {
|
||||||
savedCommitId = commitId;
|
savedCommitId = commitId;
|
||||||
this->filename = filename;
|
this->filename = filename;
|
||||||
|
StandardPaths::SetPathValue("?script", wxFileName(filename).GetPath());
|
||||||
}
|
}
|
||||||
|
|
||||||
FileSave();
|
FileSave();
|
||||||
|
|
Loading…
Reference in a new issue