UI: Prevent import failure for collections with slash in name
This commit is contained in:
parent
2d1b0666af
commit
714c652dc9
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue