Changeset View
Changeset View
Standalone View
Standalone View
src/bin/bin.cpp
Show First 20 Lines • Show All 1074 Lines • ▼ Show 20 Line(s) | 1071 | if (currentName.isEmpty()) { | |||
---|---|---|---|---|---|
1075 | } | 1075 | } | ||
1076 | } | 1076 | } | ||
1077 | if (!currentName.isEmpty()) { | 1077 | if (!currentName.isEmpty()) { | ||
1078 | currentName.append(i18nc("append to clip name to indicate a copied idem", " (copy)")); | 1078 | currentName.append(i18nc("append to clip name to indicate a copied idem", " (copy)")); | ||
1079 | Xml::setXmlProperty(xml, QStringLiteral("kdenlive:clipname"), currentName); | 1079 | Xml::setXmlProperty(xml, QStringLiteral("kdenlive:clipname"), currentName); | ||
1080 | } | 1080 | } | ||
1081 | QString id; | 1081 | QString id; | ||
1082 | m_itemModel->requestAddBinClip(id, xml, item->parent()->clipId(), i18n("Duplicate clip")); | 1082 | m_itemModel->requestAddBinClip(id, xml, item->parent()->clipId(), i18n("Duplicate clip")); | ||
1083 | selectClipById(id); | ||||
1083 | } | 1084 | } | ||
1084 | } | 1085 | } | ||
1085 | } | 1086 | } | ||
1086 | } | 1087 | } | ||
1087 | 1088 | | |||
1088 | void Bin::setMonitor(Monitor *monitor) | 1089 | void Bin::setMonitor(Monitor *monitor) | ||
1089 | { | 1090 | { | ||
1090 | m_monitor = monitor; | 1091 | m_monitor = monitor; | ||
▲ Show 20 Lines • Show All 2008 Lines • Show Last 20 Lines |