From c108efa11b56e02e403193107f53a7725f029de4 Mon Sep 17 00:00:00 2001 From: Valentina Kiryushkina Date: Fri, 14 Oct 2016 18:02:49 +0300 Subject: [PATCH] PY-19960 Minor Disable context menu with reload action --- python/ipnb/src/org/jetbrains/plugins/ipnb/IpnbJfxUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ipnb/src/org/jetbrains/plugins/ipnb/IpnbJfxUtils.java b/python/ipnb/src/org/jetbrains/plugins/ipnb/IpnbJfxUtils.java index 85abac7d837b..7cbd6f1d2248 100644 --- a/python/ipnb/src/org/jetbrains/plugins/ipnb/IpnbJfxUtils.java +++ b/python/ipnb/src/org/jetbrains/plugins/ipnb/IpnbJfxUtils.java @@ -82,6 +82,7 @@ public class IpnbJfxUtils { Platform.runLater(() -> { final WebView webView = new WebView(); + webView.setContextMenuEnabled(false); webView.setOnDragDetected(event -> { }); final WebEngine engine = webView.getEngine(); -- 2.32.0