Update the scale file in all cases
This commit is contained in:
parent
d522c50e5f
commit
d3a3dbd184
1 changed files with 2 additions and 1 deletions
|
|
@ -77,10 +77,11 @@ void Tuning::Impl::updateScale(const Tunings::Scale& scale, absl::optional<fs::p
|
|||
tuning_ = Tunings::Tuning(scale, tuning_.keyboardMapping);
|
||||
updateKeysFractional12TET();
|
||||
|
||||
scalaFile_ = sourceFile;
|
||||
|
||||
if (sourceFile) {
|
||||
std::error_code ec;
|
||||
modificationTime_ = fs::last_write_time(*sourceFile, ec);
|
||||
scalaFile_ = sourceFile;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue