Open vvim opened 8 years ago
see commit 9ee1c4ab35d95cbd15acd1599719ad6b06c8d539
This way, it will only run when necessary.
Then also, if we add a matrices_up_to_date = !testIfLWMarkersHasChanged(); we can change Form::on_pbShowTotalDistanceAndTotalTime_clicked() to simply
matrices_up_to_date = !testIfLWMarkersHasChanged();
Form::on_pbShowTotalDistanceAndTotalTime_clicked() to simply
void Form::on_pbShowTotalDistanceAndTotalTime_clicked() { reorderMarkers(); setTotalDistanceAndTotalTime(); }
see commit 9ee1c4ab35d95cbd15acd1599719ad6b06c8d539
This way, it will only run when necessary.
Then also, if we add a
matrices_up_to_date = !testIfLWMarkersHasChanged();
we can changeForm::on_pbShowTotalDistanceAndTotalTime_clicked() to simply