consume change station on change system
This commit is contained in:
@@ -73,7 +73,9 @@ public class ProfileController {
|
|||||||
if (!ignoreChanges){
|
if (!ignoreChanges){
|
||||||
profile.setSystem(n);
|
profile.setSystem(n);
|
||||||
}
|
}
|
||||||
|
ignoreChanges = true;
|
||||||
station.setItems(n.getStationsList());
|
station.setItems(n.getStationsList());
|
||||||
|
ignoreChanges = false;
|
||||||
});
|
});
|
||||||
station.valueProperty().addListener((ov, o, n) -> {
|
station.valueProperty().addListener((ov, o, n) -> {
|
||||||
if (!ignoreChanges)
|
if (!ignoreChanges)
|
||||||
|
|||||||
Reference in New Issue
Block a user