From: Youness Alaoui Date: Thu, 10 Sep 2015 16:01:57 +0000 (-0400) Subject: Fix crash on wxpython 2.8 by setting checkbox to be siblings of staticbox X-Git-Tag: lulzbot-17.03~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=608e8e80ccc0645bcaa72747f3bf7f3238dc167b;p=cura.git Fix crash on wxpython 2.8 by setting checkbox to be siblings of staticbox This basically reverts 3ce43ee7fc455131c0d772708340443ea4f7c036 --- 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