diff --git a/Libraries/src/net/relinc/libraries/application/LineChartWithMarkers.java b/Libraries/src/net/relinc/libraries/application/LineChartWithMarkers.java index 5790be0..c809886 100644 --- a/Libraries/src/net/relinc/libraries/application/LineChartWithMarkers.java +++ b/Libraries/src/net/relinc/libraries/application/LineChartWithMarkers.java @@ -273,6 +273,7 @@ public void showNewLabelsDialog(ChartingPreferences preference) { Label title = new Label("Title"); TextField newTitle = new TextField(); + newTitle.setText(preference.title == null ? "" : preference.title.orElse("")); Label xAxisLabel = new Label("xAxis"); Label xMinLabel = new Label("Min"); TextField newXMin = new TextField();