diff --git a/plugins/itemencrypted/itemencrypted.cpp b/plugins/itemencrypted/itemencrypted.cpp
index 50c86eb8dde8bb499d9382deea94a9636b411d71..0e7578f3adaf40bfaf324cf34f3d859039f318f9 100644
--- a/plugins/itemencrypted/itemencrypted.cpp
+++ b/plugins/itemencrypted/itemencrypted.cpp
@@ -472,7 +472,10 @@ void ItemEncryptedScriptable::copyEncryptedItems()
         }
     }
 
-    call("copy", QVariantList() << text);
+    const auto args = QVariantList()
+            << mimeText << text
+            << mimeHidden << "1";
+    call("copy", args);
 }
 
 QString ItemEncryptedScriptable::generateTestKeys()