Skip to content

Commit

Permalink
fix workdrive selection not being stripped
Browse files Browse the repository at this point in the history
  • Loading branch information
rk-exxec committed Apr 15, 2023
1 parent 1ec5fbe commit e4d370c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guiMain.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def saveAs(self):
def open_p_drive(self):
dir = QFileDialog.getExistingDirectory(self, "A3 Tools working directory", dir=os.path.expanduser("~")).strip()
if dir:
file = file.strip()
dir = dir.strip()
self.workDrivePathEdit.setText(dir)
self.workdrive_path = dir
self.settings.setValue("workdrive_path", dir)
Expand Down

0 comments on commit e4d370c

Please sign in to comment.