diff options
Diffstat (limited to 'src/waveform')
-rw-r--r-- | src/waveform/renderers/waveformrendermark.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/waveform/renderers/waveformrendermark.cpp b/src/waveform/renderers/waveformrendermark.cpp index 5f239b4229..df5cb87b64 100644 --- a/src/waveform/renderers/waveformrendermark.cpp +++ b/src/waveform/renderers/waveformrendermark.cpp @@ -129,8 +129,8 @@ void WaveformRenderMark::slotCuesUpdated() { QString newLabel = pCue->getLabel(); QColor newColor = m_predefinedColorsRepresentation.representationFor(pCue->getColor()); - if (pMark->m_text.isNull() || newLabel != pMark->m_text || - !pMark->fillColor().isValid() || newColor != pMark->fillColor()) { + if (newLabel != pMark->m_text || newColor != pMark->fillColor() + || !pMark->fillColor().isValid()) { pMark->m_text = newLabel; pMark->setBaseColor(newColor); generateMarkImage(pMark); |