@@ -68,6 +68,7 @@ class SettingsWidget(QWidget):
68
68
"support_priority_zoffset" ,
69
69
"support_number_of_bottom_layers" ,
70
70
"support_number_of_lid_layers" ,
71
+ "support_create_walls" ,
71
72
"critical_angle" ,
72
73
]
73
74
@@ -1260,6 +1261,25 @@ def on_change():
1260
1261
"label" : angle_label ,
1261
1262
"edit" : angle_value ,
1262
1263
}
1264
+ elif name == "support_create_walls" :
1265
+ self .ensure_sett ("supports.create_walls" )
1266
+
1267
+ create_walls_label = QLabel (self .locale .ShouldCreateWalls )
1268
+ create_walls_box = QCheckBox ()
1269
+ if self .sett ().supports .create_walls :
1270
+ create_walls_box .setCheckState (QtCore .Qt .Checked )
1271
+ self .panel .addWidget (create_walls_label , self .next_row , 1 )
1272
+ self .panel .addWidget (create_walls_box , self .cur_row , 2 , 1 , self .col2_cells )
1273
+
1274
+ def on_change ():
1275
+ self .sett ().supports .create_walls = create_walls_box .isChecked ()
1276
+
1277
+ create_walls_box .stateChanged .connect (on_change )
1278
+
1279
+ self .__elements [name ] = {
1280
+ "label" : create_walls_label ,
1281
+ "checkbox" : create_walls_box ,
1282
+ }
1263
1283
1264
1284
# add row index for element
1265
1285
self .__elements [name ]["row_idx" ] = self .cur_row
0 commit comments