Skip to content

Commit

Permalink
disable menu items when they are not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Querz committed Jul 12, 2019
1 parent 5585a8c commit 7d93665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/querz/mcaselector/ui/OptionBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ public OptionBar(TileMap tileMap, Stage primaryStage) {
filterChunks.setAccelerator(KeyCombination.keyCombination("Ctrl+F"));
changeFields.setAccelerator(KeyCombination.keyCombination("Ctrl+N"));

// setSelectionDependentMenuItemsEnabled(false);
// setWorldDependentMenuItemsEnabled(false);
setSelectionDependentMenuItemsEnabled(false);
setWorldDependentMenuItemsEnabled(false);
}

private void onUpdate(TileMap tileMap) {
Expand Down

0 comments on commit 7d93665

Please sign in to comment.