Commit 10fde79d1d3a27f2ec7249be69e908dc4121af4a

Authored by Thiago Franco de Moraes
1 parent 69671ddc
Exists in master

evt.m_shiftDown is deprecated, using evt.shiftDown

invesalius/gui/bitmap_preview_panel.py
... ... @@ -229,7 +229,7 @@ class Preview(wx.Panel):
229 229 def OnSelect(self, evt):
230 230  
231 231 shift_pressed = False
232   - if evt.m_shiftDown:
  232 + if evt.shiftDown:
233 233 shift_pressed = True
234 234  
235 235 self.select_on = True
... ...
invesalius/gui/dicom_preview_panel.py
... ... @@ -280,7 +280,7 @@ class Preview(wx.Panel):
280 280 def OnSelect(self, evt):
281 281  
282 282 shift_pressed = False
283   - if evt.m_shiftDown:
  283 + if evt.shiftDown:
284 284 shift_pressed = True
285 285  
286 286 dicom_id = self.dicom_info.id
... ...