Skip to content

Commit 81f19c7

Browse files
committed
ProjectLoader: Ignore empty file names
1 parent 07bccf9 commit 81f19c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/projectloader.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ void ProjectLoader::setFileName(const QString &newFileName)
5959
if (m_loadThread.isRunning())
6060
m_loadThread.waitForFinished();
6161

62+
if (newFileName.isEmpty())
63+
return;
64+
6265
m_fileName = newFileName;
6366

6467
// Stop the project

0 commit comments

Comments
 (0)