mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-07-01 12:26:26 +00:00
wip: chore
This commit is contained in:
@ -46,7 +46,7 @@ class ChartSelector(Ui_ChartSelector, QWidget):
|
||||
def updateResultLabel(self):
|
||||
chart = self.value()
|
||||
if isinstance(chart, Chart):
|
||||
pack = self.db.get_pack_by_id(chart.set)
|
||||
pack = self.db.get_pack(chart.set)
|
||||
texts = [
|
||||
[
|
||||
pack.name,
|
||||
|
@ -112,7 +112,7 @@ class SongIdSelector(Ui_SongIdSelector, QWidget):
|
||||
isAppendPack = re.search(r"_append_.*$", pack.id)
|
||||
if isAppendPack:
|
||||
basePackId = re.sub(r"_append_.*$", "", pack.id)
|
||||
basePackName = self.db.get_pack_by_id(basePackId).name
|
||||
basePackName = self.db.get_pack(basePackId).name
|
||||
packName = f"{basePackName} - {pack.name}"
|
||||
else:
|
||||
packName = pack.name
|
||||
|
Reference in New Issue
Block a user