From eacd82b8bfe0465efd898bee7363fadb47718f34 Mon Sep 17 00:00:00 2001
From: Albert Graef <aggraef@gmail.com>
Date: Sun, 13 Nov 2016 20:28:49 +0100
Subject: [PATCH] Reenable the Ctrl+V keybinding in the canvas edit menu.

This disables the "paste from clipboard" functionality for now, which is conflated with the ordinary paste at present. Combining the two isn't a good idea anyway due to various reasons, cf. https://git.purrdata.net/jwilkes/purr-data/issues/156.
---
 pd/nw/pd_menus.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pd/nw/pd_menus.js b/pd/nw/pd_menus.js
index 7f6b48ab5..dead27ceb 100644
--- a/pd/nw/pd_menus.js
+++ b/pd/nw/pd_menus.js
@@ -192,8 +192,8 @@ function create_menu(gui, type) {
             // "Ctrl-V" isn't displayed in the menu item.
             edit_menu.append(m.edit.paste = new gui.MenuItem({
                 label: l("menu.paste"),
-                //key: "v",
-                //modifiers: cmd_or_ctrl,
+                key: "v",
+                modifiers: cmd_or_ctrl,
                 tooltip: l("menu.paste_tt")
             }));
         }
-- 
GitLab