Modified ReloadSong() to allow no notes reloading

This commit is contained in:
Stefan authored and GitHub committed 2020-01-18 23:07:17 +01:00
1 parent a36ee3e389
commit 872bcf776f
1 file changed
+2 -2
+2 -2
View File
@@ -288,11 +288,11 @@ namespace VocaluxeLib.Songs
return loader.ReadNotes(); return loader.ReadNotes();
} }
public bool ReloadSong() public bool ReloadSong(bool reloadNotes)
{ {
var loader = new CSongLoader(this); var loader = new CSongLoader(this);
bool retValue = loader.ReadHeader(); bool retValue = loader.ReadHeader();
retValue = loader.ReadNotes(true); retValue = loader.ReadNotes(reloadNotes);
return retValue; return retValue;
} }