We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 583092a commit 0c21c66Copy full SHA for 0c21c66
music21/duration.py
@@ -1763,7 +1763,7 @@ def _updateComponents(self):
1763
'''
1764
# this update will not be necessary
1765
self._quarterLengthNeedsUpdating = False
1766
- if self.linked:
+ if self.linked and self.expressionIsInferred:
1767
qlc = quarterConversion(self._qtrLength)
1768
self.components = list(qlc.components)
1769
if qlc.tuplet is not None:
@@ -2824,6 +2824,7 @@ def _setQuarterLength(self, value: OffsetQLIn):
2824
if value == 0.0 and self.linked is True:
2825
self.clear()
2826
self._qtrLength = value
2827
+ self.expressionIsInferred = True
2828
self._componentsNeedUpdating = True
2829
2830
0 commit comments