mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Remove invalid path warning on empty path
This commit is contained in:
parent
2e7ea7db01
commit
53aa828c9e
|
|
@ -89,7 +89,7 @@ obs_weak_source_t* getNextTransition(obs_weak_source_t* scene1, obs_weak_source_
|
|||
|
||||
void SwitcherData::checkSwitchInfoFromFile(bool& match, OBSWeakSource& scene, OBSWeakSource& transition)
|
||||
{
|
||||
if (!fileIO.readEnabled)
|
||||
if (!fileIO.readEnabled || fileIO.readPath.empty())
|
||||
return;
|
||||
|
||||
QFile file(QString::fromStdString(fileIO.readPath));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user