🐛 invalid header order

This commit is contained in:
Ondřej Samohel 2023-11-22 16:42:11 +01:00
parent 5125db72b4
commit 4554820410

View file

@ -205,7 +205,7 @@ class AssetReporterWindow(QtWidgets.QDialog):
self.table.setColumnCount(3)
self.table.setColumnWidth(0, 400)
self.table.setColumnWidth(1, 300)
self.table.setHorizontalHeaderLabels(["Subset", "Used in", "Version"])
self.table.setHorizontalHeaderLabels(["Used in", "Product", "Version"])
# self.text_area = QtWidgets.QTextEdit(self)
self.copy_button = QtWidgets.QPushButton('Copy to Clipboard', self)
@ -389,7 +389,7 @@ class AssetReporterWindow(QtWidgets.QDialog):
"""Write CSV file with results."""
with open(file_name, "w", newline="") as csvfile:
writer = csv.writer(csvfile, delimiter=";")
writer.writerow(["Subset", "Used in", "Version"])
writer.writerow(["Used in", "Product", "Version"])
for key, value in self._result.items():
writer.writerow([key, "", ""])
for source in value: