chiark / gitweb /
Put checkboxes in the right parent widget
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Thu, 3 Sep 2015 19:40:54 +0000 (15:40 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Thu, 3 Sep 2015 19:40:54 +0000 (15:40 -0400)
Cura/gui/simpleMode.py

index 5e1f825b4b054515f07343b794e460147ffd7776..262067892e71e3197e869db29be1ed2513f3a333 100644 (file)
@@ -303,7 +303,7 @@ class simpleModePanel(wx.Panel):
                for option in material.options:
                        if option.disabled:
                                continue
-                       button = wx.CheckBox(self, -1, option.name.replace('&', '&&'))
+                       button = wx.CheckBox(self.printOptionsBox, -1, option.name.replace('&', '&&'))
                        button.profile = option
                        self._print_other_options.append(button)
                        # Restore selection on similarly named options