Commit 31032ffb authored by Ulf Hermann's avatar Ulf Hermann
Browse files

Timeline: setNotesDirty() when setting notes and initialize notesDirty



Change-Id: I4d4e7b26f01dd3dc481aa196342bae92b60cad27
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 5a5acd66
......@@ -34,7 +34,7 @@ namespace Timeline {
TimelineAbstractRenderer::TimelineAbstractRendererPrivate::TimelineAbstractRendererPrivate() :
selectedItem(-1), selectionLocked(true), model(0), notes(0), zoomer(0), modelDirty(false),
rowHeightsDirty(false)
rowHeightsDirty(false), notesDirty(false)
{
}
......@@ -138,8 +138,8 @@ void TimelineAbstractRenderer::setNotes(TimelineNotesModel *notes)
connect(d->notes, &TimelineNotesModel::changed,
this, &TimelineAbstractRenderer::setNotesDirty);
setNotesDirty();
emit notesChanged(d->notes);
update();
}
TimelineZoomControl *TimelineAbstractRenderer::zoomer() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment