smeerten / ssnake

A program for the analysis of NMR data.
Other
19 stars 15 forks source link

AttributeError when deleting macro in fitting mode #140

Closed Famlam closed 2 months ago

Famlam commented 1 year ago
  1. Have a macro
  2. Open any fitting mode (for example T1 fit)
  3. Delete the macro (or rename)
    Traceback (most recent call last): 
    File "ssNake.py", line 1114, in action3 = self.macrodeletemenu.addAction(QtGui.QIcon(IconDirectory + 'delete.png'), givenName, lambda name=givenName: self.deleteMacro(name)) 
    File "ssNake.py", line 1187, in deleteMacro if i.currentMacro == name: 
    AttributeError: 'TabFittingWindow' object has no attribute 'currentMacro'