UI: Show error if empty recording path specified
Same as 937ec4d but for advanced output.
This commit is contained in:
parent
0c0ffb341c
commit
91c292d394
@ -1495,7 +1495,7 @@ bool AdvancedOutput::StartRecording()
|
||||
"FFFileNameWithoutSpace" :
|
||||
"RecFileNameWithoutSpace");
|
||||
|
||||
os_dir_t *dir = path ? os_opendir(path) : nullptr;
|
||||
os_dir_t *dir = path && path[0] ? os_opendir(path) : nullptr;
|
||||
|
||||
if (!dir) {
|
||||
if (main->isVisible())
|
||||
|
Loading…
x
Reference in New Issue
Block a user