Commit 810cd69000c4e61cbe8c9a9d63607eae6d65682a
1 parent
d8d664c6
Exists in
master
and in
6 other branches
FIX: Darwin last selected directory when importing dicom, win and linux, apress problem. fixed.
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
invesalius/gui/dialogs.py
@@ -168,6 +168,8 @@ def ShowImportDirDialog(): | @@ -168,6 +168,8 @@ def ShowImportDirDialog(): | ||
168 | folder = session.GetLastDicomFolder() | 168 | folder = session.GetLastDicomFolder() |
169 | else: | 169 | else: |
170 | folder = '' | 170 | folder = '' |
171 | + else: | ||
172 | + folder = '' | ||
171 | 173 | ||
172 | dlg = wx.DirDialog(None, _("Choose a DICOM folder:"), folder, | 174 | dlg = wx.DirDialog(None, _("Choose a DICOM folder:"), folder, |
173 | style=wx.DD_DEFAULT_STYLE | 175 | style=wx.DD_DEFAULT_STYLE |