Browse Source

hopefully fix remove chord crash

master
Ivan Holmes 4 years ago
parent
commit
7b2b793006
  1. 3
      gui.py

3
gui.py

@ -514,7 +514,8 @@ class DocumentWindow(QMainWindow):
if b.chord: if b.chord:
if b.chord.name == oldName: if b.chord.name == oldName:
b.chord = None b.chord = None
self.window.blockTableView.populate(self.currentSection.blockList)
if self.currentSection.blockList is not None:
self.window.blockTableView.populate(self.currentSection.blockList)
self.clearChordLineEdits() self.clearChordLineEdits()
self.updateChordDict() self.updateChordDict()

Loading…
Cancel
Save