diff --git a/bambu/src/main/java/com/tfyre/bambu/view/dashboard/DashboardPrinter.java b/bambu/src/main/java/com/tfyre/bambu/view/dashboard/DashboardPrinter.java index 1ac76a2..c300d27 100644 --- a/bambu/src/main/java/com/tfyre/bambu/view/dashboard/DashboardPrinter.java +++ b/bambu/src/main/java/com/tfyre/bambu/view/dashboard/DashboardPrinter.java @@ -314,7 +314,6 @@ private void processMessage(final BambuPrinter.Message message) { } private void updatePrinterStatus() { - gcodeState = printer.getGCodeState(); final String value = "Status: %s".formatted(gcodeState.getDescription()); if (value.equals(printerStatus.getText())) { return; @@ -331,6 +330,7 @@ public void update() { if (!built) { return; } + gcodeState = printer.getGCodeState(); if (processFull) { printer.getFullStatus().ifPresent(message -> { processFull = false;