refactoring clipboard WIP

This commit is contained in:
zadam
2020-01-12 09:57:28 +01:00
parent 0f8a7bad06
commit d1f679ab90
8 changed files with 69 additions and 136 deletions

View File

@@ -150,7 +150,7 @@ class TreeContextMenu {
import("../dialogs/move_to.js").then(d => d.showDialog(nodes));
}
else if (cmd === "pasteAfter") {
clipboard.pasteAfter(this.node);
clipboard.pasteAfter(this.treeWidget, this.node);
}
else if (cmd === "pasteInto") {
clipboard.pasteInto(this.node);