Fix opening files on windows

`_open_url_queue` is expecting a list of strings, not a `QUrl` instance

CURA-11288
This commit is contained in:
c.lamboo 2023-12-06 07:57:45 +01:00
parent 153e2e7bd0
commit d6a73a5976

View File

@ -332,7 +332,7 @@ class CuraApplication(QtApplication):
for filename in self._cli_args.file:
url = QUrl(filename)
if url.scheme() in self._supported_url_schemes:
self._open_url_queue.append(url)
self._open_url_queue.append(filename)
else:
self._files_to_open.append(os.path.abspath(filename))