From be71fc0298277b85fc8832c4337719188ec61b86 Mon Sep 17 00:00:00 2001 From: Sally Date: Thu, 21 Mar 2019 12:40:35 +0100 Subject: [PATCH] Removal of Dead Code Old Code that is not used any longer (was rewritten). --- pylot/core/util/widgets.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index d828b8cb..93ce1519 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -268,9 +268,6 @@ class AddMetadataWidget(QWidget): return fninv 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() try: item = self.list_model.itemData(indices[-1])