Path: Fix undefined variable name in Command.py
This is a rename that got missed in #6637. I ran into this bug when trying to post a job using the `linuxcnc` post processor on a Windows 11 machine, running the weekly build titled `FreeCAD_weekly-builds-33576-2023-07-13-conda-Windows-x86_64-py310.7z`.
This commit is contained in:
@@ -242,7 +242,7 @@ def resolveFileName(job, subpartname, sequencenumber):
|
||||
requestedfile = QtGui.QFileDialog.getSaveFileName(
|
||||
QtGui.QApplication.activeWindow(), "Output File", fullPath
|
||||
)
|
||||
if foo[0]:
|
||||
if requestedfile[0]:
|
||||
fullPath = requestedfile[0]
|
||||
else:
|
||||
fullPath = None
|
||||
|
||||
Reference in New Issue
Block a user