@@ -84,10 +84,10 @@ public final class BatchPrintView extends PushDiv implements NotificationHelper,
8484 private final Span printTime = new Span ();
8585 private final Span printWeight = new Span ();
8686 private final Div printFilaments = newDiv ("filaments" );
87- private final Checkbox timelapse = new Checkbox ("Timelapse" , true );
88- private final Checkbox bedLevelling = new Checkbox ("Bed Levelling" , true );
89- private final Checkbox flowCalibration = new Checkbox ("Flow Calibration" , true );
90- private final Checkbox vibrationCalibration = new Checkbox ("Vibration Calibration" , true );
87+ private final Checkbox timelapse = new Checkbox ("Timelapse" );
88+ private final Checkbox bedLevelling = new Checkbox ("Bed Levelling" );
89+ private final Checkbox flowCalibration = new Checkbox ("Flow Calibration" );
90+ private final Checkbox vibrationCalibration = new Checkbox ("Vibration Calibration" );
9191 private GridListDataView <PrinterMapping > dataView ;
9292 private final Div actions = newDiv ("actions" , plateLookup ,
9393 newDiv ("detail" , printTime , printWeight ),
@@ -245,10 +245,18 @@ private void updateBulkStatus() {
245245 printerMappings .forEach (PrinterMapping ::updateBulkStatus );
246246 }
247247
248+ private void configureActions () {
249+ timelapse .setValue (config .batchPrint ().timelapse ());
250+ bedLevelling .setValue (config .batchPrint ().bedLevelling ());
251+ flowCalibration .setValue (config .batchPrint ().flowCalibration ());
252+ vibrationCalibration .setValue (config .batchPrint ().vibrationCalibration ());
253+ }
254+
248255 @ Override
249256 protected void onAttach (final AttachEvent attachEvent ) {
250257 super .onAttach (attachEvent );
251258 addClassName ("batchprint-view" );
259+ configureActions ();
252260 configurePlateLookup ();
253261 configureGrid ();
254262 configureUpload ();
0 commit comments