mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-13 04:37:14 -05:00
Remove invalid path warning on empty path
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user