From 20d6fd270286f2494fafde62ea4837a93fd34043 Mon Sep 17 00:00:00 2001 From: bouni Date: Fri, 23 Feb 2024 15:39:10 +0100 Subject: [PATCH] use correct index for assign part event --- partselector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partselector.py b/partselector.py index 30a8fa1..df8d091 100644 --- a/partselector.py +++ b/partselector.py @@ -639,7 +639,7 @@ def select_part(self, *_): if row == -1: return selection = self.part_list.GetTextValue(row, 0) - stock = self.part_list.GetTextValue(row, 8) + stock = self.part_list.GetTextValue(row, 5) wx.PostEvent( self.parent, AssignPartsEvent(