Commit cf206ca9 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* whoops (refs #13)

parent f2188843
...@@ -237,14 +237,14 @@ static VLCWizard *_o_sharedInstance = nil; ...@@ -237,14 +237,14 @@ static VLCWizard *_o_sharedInstance = nil;
[o_btn_forward setTitle: [_NS("Next") stringByAppendingString:@" >"]]; [o_btn_forward setTitle: [_NS("Next") stringByAppendingString:@" >"]];
/* "Input" */ /* "Input" */
[o_t2_fld_pathToStrm setStringValue: @""]; [o_t2_fld_pathToNewStrm setStringValue: @""];
[o_t2_ckb_enblPartExtrct setState: NSOffState]; [o_t2_ckb_enblPartExtrct setState: NSOffState];
[self t2_enableExtract:nil]; [self t2_enableExtract:nil];
[o_t2_matrix_inputSourceType selectCellAtRow:0 column:0]; [o_t2_matrix_inputSourceType selectCellAtRow:0 column:0];
[[o_t2_matrix_inputSourceType cellAtRow:1 column:0] setState: NSOffState]; [[o_t2_matrix_inputSourceType cellAtRow:1 column:0] setState: NSOffState];
/* FIXME: we need to refresh the playlist-table as well */ /* FIXME: we need to refresh the playlist-table as well */
[o_t2_tbl_plst setEnabled:NO]; [o_t2_tbl_plst setEnabled:NO];
[o_t2_fld_pathToStrm setEnabled:YES]; [o_t2_fld_pathToNewStrm setEnabled:YES];
[o_t2_btn_chooseFile setEnabled:YES]; [o_t2_btn_chooseFile setEnabled:YES];
/* "Streaming 1" */ /* "Streaming 1" */
...@@ -399,12 +399,12 @@ static VLCWizard *_o_sharedInstance = nil; ...@@ -399,12 +399,12 @@ static VLCWizard *_o_sharedInstance = nil;
if( [o_mode isEqualToString: _NS("Select a stream")] ) if( [o_mode isEqualToString: _NS("Select a stream")] )
{ {
[o_userSelections setObject:@"YES" forKey:@"newStrm"]; [o_userSelections setObject:@"YES" forKey:@"newStrm"];
if ([[o_t2_fld_pathToStrm stringValue] isEqualToString: @""]) if ([[o_t2_fld_pathToNewStrm stringValue] isEqualToString: @""])
{ {
/* set a flag that no file is selected */ /* set a flag that no file is selected */
stop = YES; stop = YES;
}else{ }else{
[o_userSelections setObject:[o_t2_fld_pathToStrm stringValue] forKey:@"pathToStrm"]; [o_userSelections setObject:[o_t2_fld_pathToNewStrm stringValue] forKey:@"pathToStrm"];
} }
}else{ }else{
if ([o_t2_tbl_plst selectedRow] != -1) if ([o_t2_tbl_plst selectedRow] != -1)
...@@ -1104,7 +1104,7 @@ static VLCWizard *_o_sharedInstance = nil; ...@@ -1104,7 +1104,7 @@ static VLCWizard *_o_sharedInstance = nil;
{ {
if (returnCode == NSOKButton) if (returnCode == NSOKButton)
{ {
[o_t2_fld_pathToStrm setStringValue:[sheet filename]]; [o_t2_fld_pathToNewStrm setStringValue:[sheet filename]];
} }
} }
...@@ -1117,11 +1117,11 @@ static VLCWizard *_o_sharedInstance = nil; ...@@ -1117,11 +1117,11 @@ static VLCWizard *_o_sharedInstance = nil;
if( [o_mode isEqualToString: _NS("Select a stream")] ) if( [o_mode isEqualToString: _NS("Select a stream")] )
{ {
[o_t2_btn_chooseFile setEnabled:YES]; [o_t2_btn_chooseFile setEnabled:YES];
[o_t2_fld_pathToStrm setEnabled:YES]; [o_t2_fld_pathToNewStrm setEnabled:YES];
[o_t2_tbl_plst setEnabled:NO]; [o_t2_tbl_plst setEnabled:NO];
} else { } else {
[o_t2_btn_chooseFile setEnabled:NO]; [o_t2_btn_chooseFile setEnabled:NO];
[o_t2_fld_pathToStrm setEnabled:NO]; [o_t2_fld_pathToNewStrm setEnabled:NO];
[o_t2_tbl_plst setEnabled:YES]; [o_t2_tbl_plst setEnabled:YES];
} }
} }
......
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