|
@ -542,14 +542,14 @@ class DocumentWindow(QMainWindow): |
|
|
if self.window.guitarVoicingLineEdit.text() or self.window.pianoVoicingLineEdit.text(): |
|
|
if self.window.guitarVoicingLineEdit.text() or self.window.pianoVoicingLineEdit.text(): |
|
|
if self.window.guitarVoicingLineEdit.text(): |
|
|
if self.window.guitarVoicingLineEdit.text(): |
|
|
try: |
|
|
try: |
|
|
self.doc.chordList[-1].voicings['guitar'] = parseFingering( |
|
|
|
|
|
|
|
|
self.doc.chordList[row].voicings['guitar'] = parseFingering( |
|
|
self.window.guitarVoicingLineEdit.text(), 'guitar') |
|
|
self.window.guitarVoicingLineEdit.text(), 'guitar') |
|
|
success = True # chord successfully parsed |
|
|
success = True # chord successfully parsed |
|
|
except Exception: |
|
|
except Exception: |
|
|
VoicingWarningMessageBox().exec() # Voicing is malformed, warn user |
|
|
VoicingWarningMessageBox().exec() # Voicing is malformed, warn user |
|
|
if self.window.pianoVoicingLineEdit.text(): |
|
|
if self.window.pianoVoicingLineEdit.text(): |
|
|
try: |
|
|
try: |
|
|
self.doc.chordList[-1].voicings['piano'] = parseFingering( |
|
|
|
|
|
|
|
|
self.doc.chordList[row].voicings['piano'] = parseFingering( |
|
|
self.window.pianoVoicingLineEdit.text(), 'piano') |
|
|
self.window.pianoVoicingLineEdit.text(), 'piano') |
|
|
success = True # chord successfully parsed |
|
|
success = True # chord successfully parsed |
|
|
except Exception: |
|
|
except Exception: |
|
|