summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 6cf95624c..4c6f50c96 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -2090,6 +2090,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
- (IBAction) formatPopUpChanged: (id) sender
{
NSString * string = [fDstFile2Field stringValue];
+ NSString * selectedCodecs = [fDstCodecsPopUp titleOfSelectedItem];
int format = [fDstFormatPopUp indexOfSelectedItem];
char * ext = NULL;
/* Initially set the large file (64 bit formatting) output checkbox to hidden */
@@ -2176,6 +2177,11 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
[fCreateChapterMarkers setEnabled: YES];
break;
}
+ if ( SuccessfulScan ) {
+ [fDstCodecsPopUp selectItemWithTitle:selectedCodecs];
+ if ( [fDstCodecsPopUp selectedItem] == NULL )
+ [fDstCodecsPopUp selectItemAtIndex:0];
+ }
[self codecsPopUpChanged: NULL];
/* Add/replace to the correct extension */