Commit 6a45cc62 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* do only show the destination of the first item on the summary page when...

* do only show the destination of the first item on the summary page when transcoding to file and add a counter for the others
parent e5ce4b87
......@@ -1419,8 +1419,15 @@ static VLCWizard *_o_sharedInstance = nil;
[o_t8_fld_destination setStringValue: @"-"];
[o_t8_fld_ttl setStringValue: @"-"];
[o_t8_fld_sap setStringValue: @"-"];
[o_t8_fld_saveFileTo setStringValue: [o_userSelections objectForKey: \
@"trnscdFilePath"]];
/* do only show the destination of the first item and add a counter, if needed */
if( [[o_userSelections objectForKey: @"trnscdFilePath"] count] > 1 )
[o_t8_fld_saveFileTo setStringValue: \
[NSString stringWithFormat: @"%@ (+ %i)", \
[[o_userSelections objectForKey: @"trnscdFilePath"] objectAtIndex:0], \
([[o_userSelections objectForKey: @"trnscdFilePath"] count] - 1)]];
else
[o_t8_fld_saveFileTo setStringValue: \
[[o_userSelections objectForKey: @"trnscdFilePath"] objectAtIndex:0]];
}
[o_t8_fld_encapFormat setStringValue: [[o_encapFormats objectAtIndex: \
[[o_userSelections objectForKey:@"encapFormat"] intValue]] objectAtIndex:1]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment