From e6fb16aebf4b7d043765f52260c3a3d54e313f60 Mon Sep 17 00:00:00 2001 From: test123456654321 <16307130148@fudan.edu.cn> Date: Sat, 26 Oct 2024 16:51:12 +0800 Subject: [PATCH] fix --- src/LunaTranslator/gui/dialog_savedgame_v3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LunaTranslator/gui/dialog_savedgame_v3.py b/src/LunaTranslator/gui/dialog_savedgame_v3.py index f4192674..4719eb9e 100644 --- a/src/LunaTranslator/gui/dialog_savedgame_v3.py +++ b/src/LunaTranslator/gui/dialog_savedgame_v3.py @@ -580,7 +580,7 @@ class pixwrapper(QWidget): curricon = savehook_new_data[self.k].get("currenticon") seticon = LAction("设为图标") seticon.setCheckable(True) - seticon.setChecked(curr != curricon) + seticon.setChecked(curr == curricon) deleteimage = LAction("删除图片") copyimage = LAction("复制图片") deleteimage_x = LAction("删除图片文件")