We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6248e4 commit 6e521bcCopy full SHA for 6e521bc
core/ui/src/main/java/org/phoebus/ui/docking/DockPane.java
@@ -658,7 +658,7 @@ else if (dock_parent instanceof SplitPane) // "dock_parent instanceof SplitPane"
658
final SplitPane parent = (SplitPane) dock_parent;
659
// Remove this dock pane from BorderPane
660
Optional<Double> dividerPosition;
661
- if (parent.getDividerPositions().length > 1) {
+ if (parent.getDividerPositions().length > 0) {
662
dividerPosition = Optional.of(parent.getDividerPositions()[0]);
663
}
664
else {
0 commit comments