fix: return tasks from the window management page
This commit is contained in:
parent
ccbf883ff0
commit
0c625958f5
2 changed files with 22 additions and 20 deletions
|
|
@ -601,7 +601,9 @@ impl cosmic::Application for SettingsApp {
|
|||
|
||||
#[cfg(feature = "page-window-management")]
|
||||
crate::pages::Message::WindowManagement(message) => {
|
||||
page::update!(self.pages, message, desktop::window_management::Page);
|
||||
if let Some(page) = self.pages.page_mut::<desktop::window_management::Page>() {
|
||||
return page.update(message).map(Into::into);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "page-networking")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue