Closed vvim closed 8 years ago
at the moment, this happens, so this is currently a bug...
At what point does transportationlistWriter.getCurrentlyEditedRoute()
get reset??
by:
transportationlistWriter.cancelCurrentlyEditedRoute();
?routeCurrentlyBeingEdited = QDate();
seems solved, but we keep it in mind to avoid future mistakes.
make sure the FLAG is not reset at that instance, the FLAG should still be the id of the route:
[ void Form::on_routeLoadedCancel_button_clicked() ] user request to cancel any changes made to route [ void Form::on_routeLoadedCancel_button_clicked() ] 1. we do not remove the route on the screen [ void Form::on_routeLoadedCancel_button_clicked() ] 2. but we will remove the FLAG set in TransportationListWriter [ void Form::on_routeLoadedCancel_button_clicked() ] flag used to be: "Mon Dec 21 2015" [ void Form::on_routeLoadedCancel_button_clicked() ] but is now reset to: "" [ void Form::on_routeLoadedCancel_button_clicked() ] 3. and stop showing the name of the route in the UI