From 10eeeccadcb3782b57e30dc0da60a956b6dd117f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Mon, 1 Jul 2024 14:01:44 +0800 Subject: [PATCH] vis --- LunaTranslator/LunaTranslator/gui/dialog_savedgame.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/dialog_savedgame.py b/LunaTranslator/LunaTranslator/gui/dialog_savedgame.py index 7f3baf0d..d2903ed7 100644 --- a/LunaTranslator/LunaTranslator/gui/dialog_savedgame.py +++ b/LunaTranslator/LunaTranslator/gui/dialog_savedgame.py @@ -2742,6 +2742,7 @@ class dialog_savedgame_v3(QWidget): try: self.pixview.setpix(k) self.currentfocusuid = k + currvis = self.righttop.currentIndex() if self.righttop.count() > 1: self.righttop.removeTab(1) tabadd_lazy( @@ -2749,7 +2750,7 @@ class dialog_savedgame_v3(QWidget): savehook_new_data[k]["title"], lambda v: v.addWidget(dialog_setting_game_internal(self, k)), ) - + self.righttop.setCurrentIndex(currvis) except: print_exc()