fix(search): don't unload active page during search
This commit is contained in:
parent
7287257ec9
commit
823ef166f9
1 changed files with 3 additions and 0 deletions
|
|
@ -1145,6 +1145,9 @@ impl SettingsApp {
|
|||
}
|
||||
|
||||
for page in unload {
|
||||
if page == self.active_page {
|
||||
continue;
|
||||
}
|
||||
self.loaded_pages.remove(&page);
|
||||
self.pages.on_leave(page);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue