This commit is contained in:
恍兮惚兮 2024-07-01 14:01:44 +08:00
parent 70f5015612
commit 10eeeccadc

View File

@ -2742,6 +2742,7 @@ class dialog_savedgame_v3(QWidget):
try: try:
self.pixview.setpix(k) self.pixview.setpix(k)
self.currentfocusuid = k self.currentfocusuid = k
currvis = self.righttop.currentIndex()
if self.righttop.count() > 1: if self.righttop.count() > 1:
self.righttop.removeTab(1) self.righttop.removeTab(1)
tabadd_lazy( tabadd_lazy(
@ -2749,7 +2750,7 @@ class dialog_savedgame_v3(QWidget):
savehook_new_data[k]["title"], savehook_new_data[k]["title"],
lambda v: v.addWidget(dialog_setting_game_internal(self, k)), lambda v: v.addWidget(dialog_setting_game_internal(self, k)),
) )
self.righttop.setCurrentIndex(currvis)
except: except:
print_exc() print_exc()