提交 0bb5a1df 编写于 作者: J jp9000

UI: Discard backup file when renaming scene collection

上级 3bd4fe54
......@@ -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)",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册