From 714c652dc9def4838d487079ed2b0e8935dff2fa Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Wed, 25 Nov 2020 02:12:26 -0500 Subject: [PATCH] UI: Prevent import failure for collections with slash in name --- UI/window-importer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/UI/window-importer.cpp b/UI/window-importer.cpp index 71c02e45c..ede03679b 100644 --- a/UI/window-importer.cpp +++ b/UI/window-importer.cpp @@ -578,6 +578,7 @@ void OBSImporter::importCollections() QString file = res["name"].string_value().c_str(); file.replace(" ", "_"); + file.replace("/", "_"); bool safe = !CheckConfigExists(dst, file); int x = 1; while (!safe) {