Update to new libcosmic

This commit is contained in:
Jeremy Soller 2023-10-19 10:33:42 -06:00
parent c393cca602
commit 62df7291ad
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
3 changed files with 189 additions and 222 deletions

View file

@ -171,8 +171,8 @@ impl App {
None => format!("No Open File"),
};
let window_title = format!("{title} - COSMIC Text Editor");
self.core.window.header_title = title.clone();
self.set_title(window_title)
self.set_header_title(title.clone());
self.set_window_title(window_title)
}
}