This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
45
Wiki
Activity
Browse Source
Don't remove settings and autosave patch before overwriting it with new file.
tags/v2.6.5
Andrew Belt
7 months ago
parent
d1ce1e646d
commit
56542273be
2 changed files
with
0 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
src/patch.cpp
+0
-1
src/settings.cpp
+ 0
- 1
src/patch.cpp
View File
@@ -253,7 +253,6 @@ void Manager::saveAutosave() {
json_dumpf(rootJ, file, JSON_INDENT(2));
std::fclose(file);
system::remove(patchPath);
system::rename(tmpPath, patchPath);
}
+ 0
- 1
src/settings.cpp
View File
@@ -584,7 +584,6 @@ void save(std::string path) {
json_dumpf(rootJ, file, JSON_INDENT(2));
std::fclose(file);
system::remove(path);
system::rename(tmpPath, path);
}
Write
Preview
Loading…
Cancel
Save