Commit f77def92 authored by sumpfralle's avatar sumpfralle

fixed problem with old gtk version (ComboBox is not initialized automatically)


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@910 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent fa777f9c
...@@ -545,6 +545,7 @@ class ProjectGui: ...@@ -545,6 +545,7 @@ class ProjectGui:
self.settings.add_item("support_grid_type", self.settings.add_item("support_grid_type",
support_grid_type_control.get_active, support_grid_type_control.get_active,
support_grid_type_control.set_active) support_grid_type_control.set_active)
self.settings.set("support_grid_type", GRID_TYPES["none"])
grid_distance_x = self.gui.get_object("SupportGridDistanceX") grid_distance_x = self.gui.get_object("SupportGridDistanceX")
grid_distance_x.connect("value-changed", grid_distance_x.connect("value-changed",
self.update_support_grid_controls) self.update_support_grid_controls)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment