Skip to content

Commit

Permalink
Issue #455 revert tab ordering feature
Browse files Browse the repository at this point in the history
This relied on JavaFX functionality that appears not to work perfectly
at the moment.
  • Loading branch information
prmr committed May 3, 2022
1 parent a554267 commit fff5f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ca/mcgill/cs/jetuml/gui/EditorFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public EditorFrame(Stage pMainStage, Optional<File> pOpenWith)
setTop(menuBar);

TabPane tabPane = new TabPane();
tabPane.setTabDragPolicy(TabPane.TabDragPolicy.REORDER);
// tabPane.setTabDragPolicy(TabPane.TabDragPolicy.REORDER); // This JavaFX feature is too buggy to use at the moment see issue #455
tabPane.getSelectionModel().selectedItemProperty().addListener((pValue, pOld, pNew) -> setMenuVisibility());
setCenter( tabPane );

Expand Down

0 comments on commit fff5f8d

Please sign in to comment.