Commit 715231a21f042fd72523c967629da6139eb7c7aa
1 parent
c7a8c7d0
Exists in
master
and in
65 other branches
FIX: Fixed problem with empty field in the import panel
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
invesalius/gui/dicom_preview_panel.py
... | ... | @@ -823,6 +823,9 @@ class SingleImagePreview(wx.Panel): |
823 | 823 | value2 = STR_LOCAL %(dicom.image.position[1]) |
824 | 824 | elif dicom.image.orientation_label == 'SAGITTAL': |
825 | 825 | value2 = STR_LOCAL %(dicom.image.position[0]) |
826 | + else: | |
827 | + value2 = '' | |
828 | + | |
826 | 829 | value = "%s\n%s" %(value1, value2) |
827 | 830 | self.text_image_location.SetValue(value) |
828 | 831 | ... | ... |