From c10976cf12ffa60afddc6351236dc55412805c3c Mon Sep 17 00:00:00 2001 From: zkk <1007518571@qq.com> Date: Wed, 13 Nov 2024 09:42:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=AD=E7=94=B5?= =?UTF-8?q?=E7=BB=AD=E6=89=93=E5=BC=B9=E7=AA=97=E6=9C=89=E6=A6=82=E7=8E=87?= =?UTF-8?q?=E4=B8=8D=E5=BC=B9=E5=87=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- screen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/screen.py b/screen.py index 7e1ce1a4..9c152c17 100755 --- a/screen.py +++ b/screen.py @@ -782,6 +782,7 @@ class KlipperScreen(Gtk.Window): return self.files.refresh_files() self.show_panel("main_menu", remove_all=True, items=self._config.get_menu_items("__main")) + self._ws.klippy.gcode_script("UPDATE_DELAYED_GCODE ID=_CHECK_POWER_LOSS_RECOVERY DURATION=0.1") def state_startup(self): self.printer_initializing(_("Klipper is attempting to start")) From 5e2b2ed2b2b0d67b8f719bb8000e3998ada04094 Mon Sep 17 00:00:00 2001 From: zkk <1007518571@qq.com> Date: Thu, 14 Nov 2024 17:02:08 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8F=8C=E5=A4=B4=E6=89=93=E5=8D=B0=E6=97=B6?= =?UTF-8?q?=E6=BF=80=E6=B4=BB=E7=AC=AC=E4=BA=8C=E4=B8=AA=E5=96=B7=E5=A4=B4?= =?UTF-8?q?=20=E7=AC=AC=E4=B8=80=E4=B8=AA=E5=96=B7=E5=A4=B4=E6=B8=A9?= =?UTF-8?q?=E5=BA=A6=E6=B6=88=E5=A4=B1=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- panels/job_status.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/panels/job_status.py b/panels/job_status.py index 8dd11c29..2b8cf420 100644 --- a/panels/job_status.py +++ b/panels/job_status.py @@ -508,12 +508,6 @@ class Panel(ScreenPanel): self.labels['lcdmessage'].hide() if 'toolhead' in data: - if 'extruder' in data['toolhead'] and data['toolhead']['extruder'] != self.current_extruder: - self.labels['temp_grid'].remove_column(0) - self.labels['temp_grid'].insert_column(0) - self.current_extruder = data["toolhead"]["extruder"] - self.labels['temp_grid'].attach(self.buttons['extruder'][self.current_extruder], 0, 0, 1, 1) - self._screen.show_all() if "max_accel" in data["toolhead"]: self.labels['max_accel'].set_label(f"{data['toolhead']['max_accel']:.0f} {self.mms2}") if 'extruder' in data and 'pressure_advance' in data['extruder']: