timeline: added more signalling when tracklists change

Fixes #1591
This commit is contained in:
itsmattkc
2021-04-27 10:08:04 +10:00
parent a0200f2286
commit 52076b19fc
8 changed files with 47 additions and 8 deletions
+3 -1
View File
@@ -309,9 +309,11 @@ void Track::Retranslate()
void Track::SetIndex(const int &index)
{
int old = index_;
index_ = index;
emit IndexChanged(index);
emit IndexChanged(old, index_);
}
Block *Track::BlockContainingTime(const rational &time) const