Forgot subtitle

This commit is contained in:
Joshua Brest 2023-04-24 03:48:31 +08:00 committed by GitHub
parent 28c280556a
commit 5837dde564
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,7 +214,7 @@ impl<T> Window<T> {
unsafe {
let subtitle = NSString::new(subtitle);
let _: () = msg_send![&*self.objc, setTitle: title];
let _: () = msg_send![&*self.objc, setSubtitle: subtitle];
}
}