From 608e8e80ccc0645bcaa72747f3bf7f3238dc167b Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Thu, 10 Sep 2015 12:01:57 -0400 Subject: [PATCH] Fix crash on wxpython 2.8 by setting checkbox to be siblings of staticbox This basically reverts 3ce43ee7fc455131c0d772708340443ea4f7c036 --- Cura/gui/simpleMode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cura/gui/simpleMode.py b/Cura/gui/simpleMode.py index dcdf1233..9c527271 100644 --- a/Cura/gui/simpleMode.py +++ b/Cura/gui/simpleMode.py @@ -298,7 +298,7 @@ class simpleModePanel(wx.Panel): for option in material.options: if option.disabled: continue - button = wx.CheckBox(self.printOptionsBox, -1, option.name.replace('&', '&&')) + button = wx.CheckBox(self, -1, option.name.replace('&', '&&')) button.profile = option self._print_other_options.append(button) # Restore selection on similarly named options -- 2.30.2