Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refitting GUI not updated correctly when ctrl-clicking #4525

Closed
DorpsGek opened this issue Feb 20, 2011 · 1 comment
Closed

Refitting GUI not updated correctly when ctrl-clicking #4525

DorpsGek opened this issue Feb 20, 2011 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Regiovogel opened the ticket and wrote:

When ctrl-clicking in the partial refitting GUI, the cargo list is not updated.

The attached files show this behaviour.
refit-1.png: Last vehicle (Mail Carriage from UKRS2) is clicked
refit-2.png: Second vehicle (Standard Carriage from UKRS2) is ctrl-clicked, cargo list is not updated (refitting to passengers not possible)
refit-3.png: Second vehicle is clicked and mouse is dragged to last vehicle, cargo list is updated

To fix this, it would be sufficient to add this->InvalidateData(2) after line 798 in vehicle_gui.cpp (as of r22117) when ctrl is pressed.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4525
@DorpsGek
Copy link
Member Author

Terkhen closed the ticket.

Reason for closing: Fixed

In r22118.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4525

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Vehicles labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant