mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Discard backup file when renaming scene collection
This commit is contained in:
@@ -255,6 +255,8 @@ void OBSBasic::on_actionRenameSceneCollection_triggered()
|
||||
oldFile.insert(0, path);
|
||||
oldFile += ".json";
|
||||
os_unlink(oldFile.c_str());
|
||||
oldFile += ".bak";
|
||||
os_unlink(oldFile.c_str());
|
||||
|
||||
blog(LOG_INFO, "------------------------------------------------");
|
||||
blog(LOG_INFO, "Renamed scene collection to '%s' (%s.json)",
|
||||
|
||||
Reference in New Issue
Block a user