Fix bug in updateStationSettings
This commit is contained in:
parent
e5877c8a34
commit
c7fb317e05
@ -195,12 +195,12 @@ public class MainController implements Initializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void updateStationSettings(StationSettings newStationSettings) {
|
private void updateStationSettings(StationSettings newStationSettings) {
|
||||||
logger.info("Updating station settings: " + newStationSettings.getName());
|
|
||||||
|
|
||||||
if (newStationSettings == null) {
|
if (newStationSettings == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.info("Updating station settings: " + newStationSettings.getName());
|
||||||
|
|
||||||
selectedStation = newStationSettings;
|
selectedStation = newStationSettings;
|
||||||
selectedStationName.set(newStationSettings.getName());
|
selectedStationName.set(newStationSettings.getName());
|
||||||
settings.setSelectedStationName(selectedStationName.get());
|
settings.setSelectedStationName(selectedStationName.get());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user