dev #295

Merged
dominik merged 38 commits from dev into master 2024-11-13 13:02:05 +00:00
Showing only changes of commit fa84b0382e - Show all commits

View File

@ -149,6 +149,8 @@ class QPoke(QtWidgets.QDialog, Ui_Dialog):
self.tableWidget_2.clearContents() self.tableWidget_2.clearContents()
self.tableWidget_2.setRowCount(0) self.tableWidget_2.setRowCount(0)
self.tableWidget_2.setSortingEnabled(False)
for entry in result: for entry in result:
row = self.tableWidget_2.rowCount() row = self.tableWidget_2.rowCount()
self.tableWidget_2.setRowCount(row+1) self.tableWidget_2.setRowCount(row+1)
@ -215,6 +217,7 @@ class QPoke(QtWidgets.QDialog, Ui_Dialog):
self.tableWidget_2.setItem(row, 12, item) self.tableWidget_2.setItem(row, 12, item)
self.tableWidget_2.resizeColumnToContents(1) self.tableWidget_2.resizeColumnToContents(1)
self.tableWidget_2.setSortingEnabled(True)
def show_pokemon(self): def show_pokemon(self):
table = self.sender() table = self.sender()