Skip to content

Commit

Permalink
Fix closing projects when open project button is shown, fixes #41
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Jan 17, 2025
1 parent bde7e2b commit 3effc64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1601,7 +1601,11 @@ impl Application for App {
}
}
}
None => break,
None => {
if closing {
break;
}
}
}
if closing {
self.nav_model.remove(id);
Expand Down

0 comments on commit 3effc64

Please sign in to comment.