From 83b410aedc8796f11b45ae93b3670c463ce0f790 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauld.mccarthy@gmail.com> Date: Wed, 30 Mar 2016 18:47:47 +0100 Subject: [PATCH] Calling base class Show in addition to setting size to 0, will hopefully fix this issue on all platforms. --- fsl/fsleyes/gl/wxglslicecanvas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsl/fsleyes/gl/wxglslicecanvas.py b/fsl/fsleyes/gl/wxglslicecanvas.py index 91a0c15b9..ab9e9dee1 100644 --- a/fsl/fsleyes/gl/wxglslicecanvas.py +++ b/fsl/fsleyes/gl/wxglslicecanvas.py @@ -63,7 +63,7 @@ class WXGLSliceCanvas(slicecanvas.SliceCanvas, workaround that I've found to work is, instead of hiding the canvas, to set its size to 0. So this method does just that. """ - + wxgl.GLCanvas.Show(self, show) if not show: self.SetMinSize((0, 0)) self.SetMaxSize((0, 0)) -- GitLab