Skip to content

Commit

Permalink
fix: clip time not showing CasparCG/server#1521
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Feb 21, 2024
1 parent 028261f commit 6d74aa3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Widgets/Rundown/RundownMovieWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,10 @@ void RundownMovieWidget::nameSubscriptionReceived(const QString& predicate, cons
Q_UNUSED(predicate);

QString name = arguments.at(0).toString();
name.remove(name.lastIndexOf('.'), name.length()); // Remove extension.

int extIndex = name.lastIndexOf('.');
if (extIndex != -1)
name.remove(extIndex, name.length()); // Remove extension.

if (this->model.getName().toLower() != name.toLower())
return; // Wrong file.
Expand Down

0 comments on commit 6d74aa3

Please sign in to comment.