diff --git a/sw/ground_segment/python/settings_app/settingsframe.py b/sw/ground_segment/python/settings_app/settingsframe.py index fa8842cf53..10a8f1132e 100644 --- a/sw/ground_segment/python/settings_app/settingsframe.py +++ b/sw/ground_segment/python/settings_app/settingsframe.py @@ -29,7 +29,7 @@ class TextCtrlSetting(wx.TextCtrl): def onEvtText(self, event): index = int(self.GetId()) try: - value = float(edit.GetValue()) + value = float(self.GetValue()) self.update_callback(index, value) except: return