Set job name when opening a file from CLI

CURA-3711
This commit is contained in:
Lipu Fei 2017-05-03 13:30:49 +02:00
parent 0452cffff9
commit 155f01356a

View file

@ -1277,6 +1277,8 @@ class CuraApplication(QtApplication):
arranger = Arrange.create(scene_root = root)
min_offset = 8
self.fileLoaded.emit(filename)
for node in nodes:
node.setSelectable(True)
node.setName(os.path.basename(filename))