1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-24 11:19:03 +08:00

Fix: Check current ime before getting clipboard

This commit is contained in:
sui-feng-cb
2024-09-19 00:57:39 +08:00
parent c8d7b3efe9
commit 26282ae1ad

View File

@@ -217,6 +217,8 @@ class EquipmentCodeHandler(StorageHandler):
def clear_all_equip(self): def clear_all_equip(self):
self.enter_equip_code_page() self.enter_equip_code_page()
ship = self.current_ship() ship = self.current_ship()
self.device.u2_set_fastinput_ime(True)
logger.attr("Current_ime", self.device.u2_current_ime())
if self.codes.__getattribute__(ship) is None: if self.codes.__getattribute__(ship) is None:
self.export_equip_code(ship) self.export_equip_code(ship)
self.clear_equip_preview() self.clear_equip_preview()