瀏覽代碼

addVaultButton context menu event filter removed

Jan-Peter Klein 1 年之前
父節點
當前提交
113717f955
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/main/java/org/cryptomator/ui/mainwindow/VaultListController.java

+ 0 - 2
src/main/java/org/cryptomator/ui/mainwindow/VaultListController.java

@@ -144,8 +144,6 @@ public class VaultListController implements FxController {
 		root.setOnDragOver(this::handleDragEvent);
 		root.setOnDragDropped(this::handleDragEvent);
 		root.setOnDragExited(this::handleDragEvent);
-
-		addVaultBtn.addEventFilter(ContextMenuEvent.CONTEXT_MENU_REQUESTED, Event::consume);
 	}
 
 	@FXML