mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
UI: Prevent import failure for collections with slash in name
This commit is contained in:
parent
2d1b0666af
commit
714c652dc9
@ -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…
Reference in New Issue
Block a user