summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/timeline.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc
index cbea2333c..c9a6dc9f1 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -262,8 +262,8 @@ Timeline::recreate_views ()
_views.push_back (shared_ptr<TimelineView> (new TimelineTextContentView (*this, i, j)));
}
- if (dynamic_pointer_cast<AtmosMXFContent> (i)) {
- _views.push_back (shared_ptr<TimelineView> (new TimelineAtmosContentView (*this, i)));
+ if (i->atmos) {
+ _views.push_back (shared_ptr<TimelineView>(new TimelineAtmosContentView(*this, i)));
}
}