Archived
0

consume change station on change system

This commit is contained in:
Mo
2015-08-08 18:41:17 +03:00
parent 9ec60b7c89
commit 0bf70f06a5

View File

@@ -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)