PY-19960 Minor Disable context menu with reload action
authorValentina Kiryushkina <valentina.kiryushkina@jetbrains.com>
Fri, 14 Oct 2016 15:02:49 +0000 (18:02 +0300)
committerValentina Kiryushkina <valentina.kiryushkina@jetbrains.com>
Mon, 24 Oct 2016 17:09:46 +0000 (20:09 +0300)
python/ipnb/src/org/jetbrains/plugins/ipnb/IpnbJfxUtils.java

index 85abac7d837b0b64e2ed6629eca563aa6c9d5493..7cbd6f1d224824316c66d4c761a642da3f6cbb82 100644 (file)
@@ -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();