mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-13 15:43:53 +08:00
.
This commit is contained in:
parent
e8bc064a10
commit
f5c4a12566
@ -390,7 +390,7 @@ class ItemWidget(QWidget):
|
||||
self._img = IMGWidget(self, getpixfunction(gameuid))
|
||||
self._lb = QLabel(self)
|
||||
if self._img._pixmap.isNull():
|
||||
self.l.setAlignment(Qt.AlignmentFlag.AlignBottom)
|
||||
self.l.addStretch(1)
|
||||
else:
|
||||
self._lb.setFixedHeight(globalconfig["dialog_savegame_layout"]["textH"])
|
||||
self.l.addWidget(self._img)
|
||||
@ -801,6 +801,11 @@ class dialog_savedgame_new(QWidget):
|
||||
game2 = self.idxsave[idx2]
|
||||
self.idxsave.insert(idx2, self.idxsave.pop(idx1))
|
||||
self.flow.switchidx(idx1, idx2)
|
||||
|
||||
try:
|
||||
self.flow.ensureWidgetVisible(self.flow.widget(idx2))
|
||||
except:
|
||||
pass
|
||||
idx1 = self.reflist.index(game)
|
||||
idx2 = self.reflist.index(game2)
|
||||
self.reflist.insert(idx2, self.reflist.pop(idx1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user