Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 113c2c1

Browse files
remove implicit project save
1 parent 4e44af2 commit 113c2c1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/OFS_Project.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,12 @@ void OFS_Project::AddFunscript(const std::string& path) noexcept
224224
if (script->open(path)) {
225225
// add existing script to project
226226
Funscripts.emplace_back(std::move(script));
227-
Save(true);
228227
}
229228
else {
230229
// add empty script to project
231230
script = std::make_shared<Funscript>();
232231
script->UpdatePath(path);
233232
Funscripts.emplace_back(std::move(script));
234-
Save(true);
235233
}
236234
}
237235

@@ -240,7 +238,6 @@ void OFS_Project::RemoveFunscript(int idx) noexcept
240238
OFS_PROFILE(__FUNCTION__);
241239
if (idx >= 0 && idx < Funscripts.size()) {
242240
Funscripts.erase(Funscripts.begin() + idx);
243-
Save(true);
244241
}
245242
}
246243

0 commit comments

Comments
 (0)