Skip to content

Commit

Permalink
server: TrainVehicleList fix propertyChanged not updating model
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgit committed Aug 17, 2024
1 parent c96c904 commit 6e793c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/train/trainvehiclelist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ void TrainVehicleList::propertyChanged(BaseProperty& property)
train().updateWeight();
else if(property.name() == "speed_max")
train().updateSpeedMax();

ObjectList<RailVehicle>::propertyChanged(property);
}

Train& TrainVehicleList::train()
Expand Down

0 comments on commit 6e793c7

Please sign in to comment.