viewer: ensure view is updated if the cache is shifted

Also moves "ForceUpdate" to a queued connection so it occurs as soon as
the rest of the processing is done. This ensures the viewer isn't updated
too early.
This commit is contained in:
itsmattkc
2020-06-03 03:49:39 +10:00
parent 12be8f72f1
commit cc34f0e251
4 changed files with 20 additions and 3 deletions
+4
View File
@@ -82,7 +82,11 @@ void PlaybackCache::Shift(const rational &from, const rational &to)
locker.unlock();
emit Invalidated(invalidate_range);
} else {
locker.unlock();
}
emit Shifted(from, to);
}
void PlaybackCache::Validate(const TimeRange &r)