mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:28:59 +08:00
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:
parent
153e2e7bd0
commit
d6a73a5976
@ -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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user