Removal of Dead Code

Old Code that is not used any longer (was rewritten).
This commit is contained in:
Sally 2019-03-21 12:40:35 +01:00
parent 399bb722eb
commit 777981e8c6

View File

@ -268,9 +268,6 @@ class AddMetadataWidget(QWidget):
return fninv return fninv
def on_clicked(self): def on_clicked(self):
#for index in self.list_view.selectionModel().selectedIndexes():
# item = self.list_model.itemData(index)
# inventory_path = item[0]
indices = self.list_view.selectionModel().selectedIndexes() indices = self.list_view.selectionModel().selectedIndexes()
try: try:
item = self.list_model.itemData(indices[-1]) item = self.list_model.itemData(indices[-1])