Rework early order highlighting in the timetable window
commit21274cacec0166e02895dc788790a6bce58a3546
authorcirdan <cirdansw@gmail.com>
Sun, 25 Feb 2018 08:39:41 +0000 (25 09:39 +0100)
committercirdan <cirdansw@gmail.com>
Sun, 25 Feb 2018 08:39:41 +0000 (25 09:39 +0100)
tree538aedf599a9fdd1686c610b90dcac68d3972e5f
parent62c73ddcdcd3c0c8bf021849b06959361196d73b
Rework early order highlighting in the timetable window

Compute the index of the row to highlight as early in
TimetableWindow::DrawWidget, instead of its order, to
simplify the check in the loop.
src/timetable_gui.cpp