Archived
0

fix change station

This commit is contained in:
iMoHax
2014-11-26 23:14:51 +03:00
parent 7e8670c284
commit deab269a5c

View File

@@ -117,8 +117,7 @@ public class OffersController {
stationsBar.getButtons().get(0).setSelected(true);
}
station = stations.isEmpty() ? null : stations.get(0);
fillTables(station);
fillTables(stations.isEmpty() ? null : stations.get(0));
}
private ToggleButton buildStationNode(StationModel station){
@@ -129,6 +128,7 @@ public class OffersController {
private void fillTables(StationModel station){
LOG.info("Change station to {}", station);
this.station = station;
sells.clear();
buys.clear();
distance.setText("");