Skip to content
Snippets Groups Projects
Commit 7b03bc36 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

File path properties were being cleared if user cancelled file dialog.

parent 14d808ad
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ def _FilePath(parent, propObj, tkProp, tkVar):
initialdir=_lastFilePathDir,
title='Save file')
if path is not None:
if path != '' and path is not None:
_lastFilePathDir = op.dirname(path)
tkVar.tkVar.set(path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment