mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:49:00 +08:00
CuraApplication: Rename file --> file_name
'file' is a built-in function!
This commit is contained in:
parent
8dd91519a6
commit
b2da4894b1
@ -719,8 +719,8 @@ class CuraApplication(QtApplication):
|
|||||||
if run_headless or self._engine.rootObjects:
|
if run_headless or self._engine.rootObjects:
|
||||||
self.closeSplash()
|
self.closeSplash()
|
||||||
|
|
||||||
for file in self.getCommandLineOption("file", []):
|
for file_name in self.getCommandLineOption("file", []):
|
||||||
self._openFile(file)
|
self._openFile(file_name)
|
||||||
for file_name in self._open_file_queue: #Open all the files that were queued up while plug-ins were loading.
|
for file_name in self._open_file_queue: #Open all the files that were queued up while plug-ins were loading.
|
||||||
self._openFile(file_name)
|
self._openFile(file_name)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user