mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Center window
This commit is contained in:
parent
ae1be325cb
commit
4fca61ede1
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@
|
|||
{
|
||||
NSWindow *w = [NSWindow windowWithContentViewController: _destinationController];
|
||||
[w setTitle: [_destinationController title]];
|
||||
[w center];
|
||||
[w orderFrontRegardless];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue