Skip to content
Snippets Groups Projects
Verified Commit 53bd0ff0 authored by Théo Pirkl's avatar Théo Pirkl :nail_care:
Browse files

Fix brain

parent cc70ebbd
Branches
No related tags found
1 merge request!21*poof* final version
......@@ -324,7 +324,7 @@ public class MainWindowController implements Initializable {
* @param pnl Panel containing the journey information
*/
private void createJourney(AppContext app, Pane pnl) throws IOException, ParseException {
if (currentJourney.equals(new Connection.EmptyConnection())){
if (currentJourney instanceof Connection.EmptyConnection){
Alert alert = new Alert(Alert.AlertType.CONFIRMATION);
alert.setTitle("Valider le trajet");
alert.setHeaderText("Valider le trajet");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment