From 01c69f645ee57a47d03a24f0a3d77a018dde595b Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Wed, 1 Apr 2026 02:02:23 +0800 Subject: [PATCH 1/2] Fix: Conflicted interval of DOCK_CHECK after selecting ship --- module/tactical/tactical_class.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/tactical/tactical_class.py b/module/tactical/tactical_class.py index b8c9f5b9d..0e518a49a 100644 --- a/module/tactical/tactical_class.py +++ b/module/tactical/tactical_class.py @@ -526,6 +526,8 @@ class RewardTacticalClass(Dock): logger.info('Not going to learn skill but in dock, close it') study_finished = True self.device.click(BACK_ARROW) + # reset DOCK_CHECK to Timer(3) + self.interval_timer.pop(DOCK_CHECK.name, None) self.interval_reset([BOOK_EMPTY_POPUP, DOCK_CHECK], interval=3) continue if self.appear(SKILL_CONFIRM, offset=(20, 20), interval=3): From 37bf25c4b0443978411eb9389f1f5dabfb1bbdf6 Mon Sep 17 00:00:00 2001 From: iceynano <34570144+iceynano@users.noreply.github.com> Date: Wed, 1 Apr 2026 22:52:12 +0800 Subject: [PATCH 2/2] Fix Event Reaction (#5589) * Add: Event Reaction * Update widgets.py * Update widgets.py * Update widgets.py * Update widgets.py * Update widgets.py * Fix event_trigger * Resolve patch #5226 Removed unnecessary whitespace in set_aside and set_aside_status methods. --- module/webui/app.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/module/webui/app.py b/module/webui/app.py index 5848d8b81..8a1749684 100644 --- a/module/webui/app.py +++ b/module/webui/app.py @@ -124,6 +124,11 @@ class AlasGUI(Frame): @use_scope("aside", clear=True) def set_aside(self) -> None: # TODO: update put_icon_buttons() + + current_date = datetime.now().date() + if current_date.month == 4 and current_date.day == 1: + self.af_flag = True + put_icon_buttons( Icon.DEVELOP, buttons=[{"label": t("Gui.Aside.Home"), "value": "Home", "color": "aside"}], @@ -146,9 +151,6 @@ class AlasGUI(Frame): onclick=[lambda: go_app("manage", new_window=False)], ) - current_date = datetime.now().date() - if current_date.month == 4 and current_date.day == 1: - self.af_flag = True @use_scope("aside_instance") def set_aside_status(self) -> None: