diff --git a/src/libs/timeline/timelinemodel.cpp b/src/libs/timeline/timelinemodel.cpp index 5498077bfd8..0ebf16ddc21 100644 --- a/src/libs/timeline/timelinemodel.cpp +++ b/src/libs/timeline/timelinemodel.cpp @@ -586,8 +586,10 @@ void TimelineModel::clear() d->endTimes.clear(); if (hadRowHeights) emit expandedRowHeightChanged(-1, -1); - if (!wasEmpty) + if (!wasEmpty) { emit emptyChanged(); + emit heightChanged(); + } } int TimelineModel::nextItemBySelectionId(int selectionId, qint64 time, int currentItem) const