summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <[email protected]>2008-11-24 19:47:46 +0000
committerdynaflash <[email protected]>2008-11-24 19:47:46 +0000
commit46d2066439531f530ddff7fa3e4bb7a2b003f704 (patch)
tree268beebb15065fc23801c056b719506ba41e05ce /macosx
parentfdabd6ab9d2a8b8d7d1460b3b351a5b452abc963 (diff)
MacGui: Fix live preview window so that changes in the preview window are reflected in the main window in real time.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1952 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/PictureController.mm11
1 files changed, 9 insertions, 2 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm
index 940bdb2fe..6888e55f3 100644
--- a/macosx/PictureController.mm
+++ b/macosx/PictureController.mm
@@ -262,6 +262,7 @@ are maintained across different sources */
scale * 100.0];
[fInfoField setStringValue: [[fInfoField stringValue] stringByAppendingString:scaleString]];
}
+
}
- (IBAction) previewDurationPopUpChanged: (id) sender
@@ -463,7 +464,8 @@ are maintained across different sources */
no human can see any meaningful detail below that */
if (job->width >= 64 && job->height >= 64)
{
- // Purge the existing picture previews so they get recreated the next time
+
+ // Purge the existing picture previews so they get recreated the next time
// they are needed.
[self purgeImageCache];
/* We actually call displayPreview now from pictureSliderChanged which keeps
@@ -473,7 +475,12 @@ are maintained across different sources */
[self pictureSliderChanged:nil];
}
-
+
+ if (sender != nil)
+ {
+ if ([delegate respondsToSelector:@selector(pictureSettingsDidChange)])
+ [delegate pictureSettingsDidChange];
+ }
}