From 77c5f559b83213d7e03c98e68bb022065ab42fee Mon Sep 17 00:00:00 2001 From: Benjamin Jakimow <benjamin.jakimow@geo.hu-berlin.de> Date: Wed, 6 Jun 2018 23:45:45 +0200 Subject: [PATCH] fixes issue #61 "error when adding field in spectral library" --- timeseriesviewer/spectrallibraries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timeseriesviewer/spectrallibraries.py b/timeseriesviewer/spectrallibraries.py index 05e09b1a..a3abeb6c 100644 --- a/timeseriesviewer/spectrallibraries.py +++ b/timeseriesviewer/spectrallibraries.py @@ -2549,7 +2549,7 @@ class SpectralLibraryWidget(QFrame, loadUI('spectrallibrarywidget.ui')): field = d.field() b = self.mSpeclib.isEditable() self.mSpeclib.startEditing() - self.mSpecli.addAttribute(field) + self.mSpeclib.addAttribute(field) saveEdits(self.mSpeclib, leaveEditable=b) def onRemoveAttribute(self): -- GitLab