Commit 597575d6dac4d963943e48135ce69ab193911715

Authored by tatiana
1 parent f8e49287

ENH: Viewer slice WW/WL text (#145)

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
invesalius/data/viewer_slice.py
... ... @@ -221,6 +221,7 @@ class Viewer(wx.Panel):
221 221 self.on_wl = False
222 222 self.wl_text.Hide()
223 223  
  224 +
224 225 self.__set_editor_cursor_visibility(0)
225 226  
226 227  
... ... @@ -426,7 +427,7 @@ class Viewer(wx.Panel):
426 427 colour = const.ORIENTATION_COLOUR[self.orientation]
427 428  
428 429 # Window & Level text
429   - self.wl_text = vtku.TextZero()
  430 + self.wl_text = vtku.Text()
430 431 self.SetWLText(proj.level, proj.window)
431 432  
432 433  
... ...