gui: label PS1 games as 'PS1' in the PSP sync table

The sync table reused a games/videos check, so PS1 entries showed as
'Video'. Use the same system->label map as the library table.
This commit is contained in:
2026-09-07 19:39:14 -04:00
parent 78b57af79e
commit c0c0f841d6
+2 -1
View File
@@ -2804,7 +2804,8 @@ class PspSyncPage(QWidget):
title = QTableWidgetItem(label)
title.setData(Qt.UserRole, it)
self.sync_table.setItem(row, 1, title)
self.sync_table.setItem(row, 2, QTableWidgetItem("Game" if it.get("system") == "games" else "Video"))
kind_label = {"games": "Game", "videos": "Video", "ps1": "PS1"}.get(it.get("system"), "Game")
self.sync_table.setItem(row, 2, QTableWidgetItem(kind_label))
size = it.get("size")
self.sync_table.setItem(row, 3, NumericItem(f"{size / (1024 * 1024):.1f} MB" if size else "", size or 0))
self.sync_table.setSortingEnabled(True)