Fix closing projects when open project button is shown, fixes #41
This commit is contained in:
parent
bde7e2bfc2
commit
3effc64df5
1 changed files with 5 additions and 1 deletions
|
|
@ -1601,7 +1601,11 @@ impl Application for App {
|
|||
}
|
||||
}
|
||||
}
|
||||
None => break,
|
||||
None => {
|
||||
if closing {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if closing {
|
||||
self.nav_model.remove(id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue