Fix typo in variable name

Otherwise you can't open any files any more. How did we not see this earlier?

Contributes to issue CURA-7996.
This commit is contained in:
Ghostkeeper 2021-02-09 14:24:09 +01:00
parent ec986990a2
commit 593cd516ce
No known key found for this signature in database
GPG Key ID: 14C3586CD2EFC5B9

View File

@ -692,7 +692,7 @@ UM.MainWindow
function handleOpenFiles(selectedMultipleFiles, hasProjectFile, fileUrlList, projectFileUrlList) function handleOpenFiles(selectedMultipleFiles, hasProjectFile, fileUrlList, projectFileUrlList)
{ {
// Make sure the files opened through the openFilesIncludingProjectDialog are added to the recent files list // Make sure the files opened through the openFilesIncludingProjectDialog are added to the recent files list
openFilesIncludingProjectsDialog.addtoRecent = true; openFilesIncludingProjectsDialog.addToRecent = true;
// we only allow opening one project file // we only allow opening one project file
if (selectedMultipleFiles && hasProjectFile) if (selectedMultipleFiles && hasProjectFile)