diff options
author | dynaflash <[email protected]> | 2009-01-14 20:20:09 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2009-01-14 20:20:09 +0000 |
commit | 455fa191eeb78617af50d760e0956eb3b59f2a71 (patch) | |
tree | 22a1b16e4d97dca55ba411e12171d54af2eb59e5 /macosx/Controller.mm | |
parent | 745f509c6e25f846d7d87b368477d6790bd260e7 (diff) |
MacGui: Picture Preview and Settings window interaction fixes
- Putting the Preview Window into full screen mode no longer automatically opens up the Picture Settings inspector
- Fixed the Picture Settings inspector so that it isn't on top of every f'ing window on your screen.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2086 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r-- | macosx/Controller.mm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index b0891342a..7d07da08f 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -207,8 +207,11 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It - (NSApplicationTerminateReply) applicationShouldTerminate: (NSApplication *) app { - [fPreviewController goWindowedScreen:nil]; - // Warn if encoding a movie + if ([fPreviewController fullScreen] == YES) + { + [fPreviewController goWindowedScreen:nil]; + } + hb_state_t s; hb_get_state( fQueueEncodeLibhb, &s ); |