diff --git a/app/node/block/clip/clip.cpp b/app/node/block/clip/clip.cpp index 9424f22031..d30ec6ac2a 100644 --- a/app/node/block/clip/clip.cpp +++ b/app/node/block/clip/clip.cpp @@ -69,7 +69,9 @@ ClipBlock::ClipBlock() : QString ClipBlock::Name() const { - if (track()) { + if (connected_viewer_ && !connected_viewer_->GetLabel().isEmpty()) { + return connected_viewer_->GetLabel(); + } else if (track()) { if (track()->type() == Track::kVideo) { return tr("Video Clip"); } else if (track()->type() == Track::kAudio) { diff --git a/app/widget/timelinewidget/tool/import.cpp b/app/widget/timelinewidget/tool/import.cpp index ae42257da0..bc6ff74e3a 100644 --- a/app/widget/timelinewidget/tool/import.cpp +++ b/app/widget/timelinewidget/tool/import.cpp @@ -424,7 +424,6 @@ void ImportTool::DropGhosts(bool insert, MultiUndoCommand *parent_command) ClipBlock* clip = new ClipBlock(); block = clip; clip->set_media_in(ghost->GetMediaIn()); - clip->SetLabel(footage_stream.footage->GetLabel()); command->add_child(new NodeAddCommand(dst_graph, clip)); // Position clip in its own context