# HG changeset patch # User Chris Cannam # Date 1194817639 0 # Node ID b6df8b44b98dda4cc562e46f1db0afc0c3775d20 # Parent 29fcf125f98bd80b9988e238b9f3e3ec4ba4f43b * Fix crash diff -r 29fcf125f98b -r b6df8b44b98d view/View.cpp --- a/view/View.cpp Sun Nov 11 20:31:12 2007 +0000 +++ b/view/View.cpp Sun Nov 11 21:47:19 2007 +0000 @@ -1355,8 +1355,8 @@ RangeSummarisableTimeValueModel *wfm = dynamic_cast(model); if (wfm || - dynamic_cast - (model->getSourceModel())) { + (wfm = dynamic_cast + (model->getSourceModel()))) { completion = wfm->getAlignmentCompletion(); if (completion < 100) { text = tr("Alignment");