fix uncaucht choice/battle exceptions
This commit is contained in:
parent
f5ad45f671
commit
0081e52e9a
5 changed files with 156 additions and 126 deletions
|
|
@ -599,6 +599,12 @@ class View(QtWidgets.QMainWindow, Ui_MainWindow):
|
|||
def show_round_details(self, *, index: int | None) -> None:
|
||||
self.roundNb.setText(f"Round {index}")
|
||||
|
||||
def clear_round_page(self) -> None:
|
||||
choices_table = self.choicesTable
|
||||
choices_table.clearContents()
|
||||
battles_table = self.battlesTable
|
||||
battles_table.clearContents()
|
||||
|
||||
def display_round_choices(self, participants: List[ChoiceDTO]) -> None:
|
||||
table = self.choicesTable
|
||||
table.setSortingEnabled(False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue