SlideShow toggle is disabled when there is no group selected; fix relative paths to images in fxml

This commit is contained in:
jmillman 2015-06-23 16:27:03 -04:00
parent 33586fd071
commit c5622c2282
2 changed files with 2 additions and 1 deletions

View File

@ -113,7 +113,7 @@
</ImageView>
</graphic>
</ToggleButton>
<ToggleButton id="filmStripToggle" fx:id="slideShowToggle" disable="true" contentDisplay="GRAPHIC_ONLY" graphicTextGap="0.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="32.0" mnemonicParsing="false" prefWidth="-1.0" text="">
<ToggleButton id="filmStripToggle" fx:id="slideShowToggle" contentDisplay="GRAPHIC_ONLY" graphicTextGap="0.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="32.0" mnemonicParsing="false" prefWidth="-1.0" text="">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" mouseTransparent="true" pickOnBounds="true" preserveRatio="true" rotate="90.0" translateY="1.0">
<image>

View File

@ -590,6 +590,7 @@ public class GroupPane extends BorderPane {
Platform.runLater(() -> {
gridView.getItems().setAll(Collections.emptyList());
setCenter(null);
slideShowToggle.setDisable(true);
groupLabel.setText("");
resetScrollBar();
if (false == Case.isCaseOpen()) {