Fix closing projects when open project button is shown, fixes #41

This commit is contained in:
Jeremy Soller 2025-01-17 10:10:14 -07:00
parent bde7e2bfc2
commit 3effc64df5
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -1601,7 +1601,11 @@ impl Application for App {
}
}
}
None => break,
None => {
if closing {
break;
}
}
}
if closing {
self.nav_model.remove(id);