Skip to content
Snippets Groups Projects
Commit 63494cf5 authored by Andrey Kleshchev's avatar Andrey Kleshchev
Browse files

SL-12456 Potential fix for NSPersistentUIFileManager crash

NSPersistentUIFileManager is supposed to be responsible for restoring window position and size
parent 252a590c
No related branches found
No related tags found
No related merge requests found
...@@ -217,6 +217,7 @@ NSWindowRef createNSWindow(int x, int y, int width, int height) ...@@ -217,6 +217,7 @@ NSWindowRef createNSWindow(int x, int y, int width, int height)
styleMask:NSTitledWindowMask | NSResizableWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask | NSTexturedBackgroundWindowMask backing:NSBackingStoreBuffered defer:NO]; styleMask:NSTitledWindowMask | NSResizableWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask | NSTexturedBackgroundWindowMask backing:NSBackingStoreBuffered defer:NO];
[window makeKeyAndOrderFront:nil]; [window makeKeyAndOrderFront:nil];
[window setAcceptsMouseMovedEvents:TRUE]; [window setAcceptsMouseMovedEvents:TRUE];
[window setRestorable:FALSE]; // Viewer manages state from own settings
return window; return window;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment