From 55d959f7870d69e6031f42994935fd1a04199ca6 Mon Sep 17 00:00:00 2001 From: Thiago Franco de Moraes Date: Wed, 9 Oct 2019 15:53:49 -0300 Subject: [PATCH] Up and Down key working again --- invesalius/data/viewer_slice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/data/viewer_slice.py b/invesalius/data/viewer_slice.py index f95f3f8..bc8bddc 100644 --- a/invesalius/data/viewer_slice.py +++ b/invesalius/data/viewer_slice.py @@ -1312,7 +1312,7 @@ class Viewer(wx.Panel): def OnKeyDown(self, evt=None, obj=None): pos = self.scroll.GetThumbPosition() - skip = True + skip = False min = 0 max = self.slice_.GetMaxSliceNumber(self.orientation) -- libgit2 0.21.2