Skip to content

Commit 580d11c

Browse files
authored
Merge pull request #142 from doubleSlashde/bug/fix_export_text
update export text and fix dialog icon
2 parents dea66f3 + e60f1d5 commit 580d11c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/de/doubleslash/keeptime/view/SettingsController.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,8 @@ private void initExportButton() {
450450
LOG.info("Export done.");
451451

452452
Alert informationDialog = new Alert(AlertType.INFORMATION);
453+
Stage informationStage = (Stage) informationDialog.getDialogPane().getScene().getWindow();
454+
informationStage.getIcons().add(new Image(Resources.getResource(RESOURCE.ICON_MAIN).toString()));
453455
informationDialog.setTitle("Export done");
454456
informationDialog.setHeaderText("The current data was exported.");
455457
informationDialog.getDialogPane().setContent(new Label("The data was exported to '\n" + fileToSave + "'."));

src/main/resources/layouts/settings.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@
414414
</HBox>
415415
<HBox prefHeight="42.0" prefWidth="366.0">
416416
<children>
417-
<Label text="Export your current Data to an Sql script. This is needed if you go from the Snapshot-1.2.0-KeepTimeto the recent release version. " wrapText="true" />
417+
<Label text="Export your current Data to an Sql script. This is needed if you upgrade to a newer KeepTime version. " wrapText="true" />
418418
</children>
419419
</HBox>
420420
<HBox alignment="BOTTOM_RIGHT" prefHeight="30.0" prefWidth="367.0">

0 commit comments

Comments
 (0)