add type checking, update deletion function in searchpage, add function to import apparat data from document
This commit is contained in:
@@ -83,7 +83,7 @@ class SearchStatisticPage(QtWidgets.QDialog, Ui_Dialog):
|
||||
apparats.append(self.tableWidget.item(row.row(), 1).text())
|
||||
for apparat in apparats:
|
||||
apparat_id = self.db.getApparatId(apparat)
|
||||
self.db.restoreApparat(apparat_id)
|
||||
self.db.restoreApparat(apparat_id, apparat)
|
||||
# remove the red color from the row
|
||||
# get row where the apparat is
|
||||
row = self.tableWidget.findItems(apparat, QtCore.Qt.MatchFlag.MatchExactly)[
|
||||
|
||||
Reference in New Issue
Block a user