Set window edited
This commit is contained in:
parent
4b74f30d0a
commit
ba0d7e35bb
2 changed files with 5 additions and 2 deletions
|
@ -773,6 +773,10 @@ impl<'a> WindowContext<'a> {
|
|||
self.window.platform_window.set_title(title);
|
||||
}
|
||||
|
||||
pub fn set_window_edited(&mut self, edited: bool) {
|
||||
self.window.platform_window.set_edited(edited);
|
||||
}
|
||||
|
||||
pub fn display(&self) -> Option<Rc<dyn PlatformDisplay>> {
|
||||
self.platform
|
||||
.displays()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue