Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Only recreate bin clips when doing a paste into another document

parent 8f1ab356
......@@ -603,7 +603,7 @@ bool TimelineController::pasteItem()
std::function<bool(void)> redo = []() { return true; };
const QString docId = m_copiedItems.documentElement().attribute(QStringLiteral("documentid"));
QMap<QString, QString> mappedIds;
if (!docId.isEmpty()/* && docId != pCore->currentDoc()->getDocumentProperty(QStringLiteral("documentid"))*/) {
if (!docId.isEmpty() && docId != pCore->currentDoc()->getDocumentProperty(QStringLiteral("documentid"))) {
// paste from another document, import bin clips
const QString rootId = pCore->projectItemModel()->getRootFolder()->clipId();
QString folderId = QString::number(pCore->projectItemModel()->getFreeFolderId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment