Commit dabdb21a7808145c5d94618de9df4b2f81e5fcd9
1 parent
e4409cea
Exists in
master
and in
6 other branches
FIX: Safe yield
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/gui/dicom_preview_panel.py
@@ -165,7 +165,7 @@ class SingleImagePreview(wx.Panel): | @@ -165,7 +165,7 @@ class SingleImagePreview(wx.Panel): | ||
165 | self.ShowSlice(pos) | 165 | self.ShowSlice(pos) |
166 | time.sleep(0.2) | 166 | time.sleep(0.2) |
167 | if self.ischecked: | 167 | if self.ischecked: |
168 | - wx.SafeYield() | 168 | + wx.Yield() |
169 | wx.CallAfter(self.OnRun) | 169 | wx.CallAfter(self.OnRun) |
170 | 170 | ||
171 | def SetDicomGroup(self, group): | 171 | def SetDicomGroup(self, group): |