mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Fix for "Pass arguments to Program" issue
This fixes the stupid '"Pass arguments to Program" not retaining checkbox check bug' error that some how passed my testing! Fixes #19. Really sorry to everyone for missing this as I really did do some extensive testing (or so I thought) but it looks like I'll need to do another release!
This commit is contained in:
parent
25ecb0bd2a
commit
109a675f04
@ -111,11 +111,13 @@ namespace DisplayMagician.UIForms
|
|||||||
// Disable the start program 1 fields
|
// Disable the start program 1 fields
|
||||||
if (cb_start_program_pass_args.Checked)
|
if (cb_start_program_pass_args.Checked)
|
||||||
{
|
{
|
||||||
|
myStartProgram.ExecutableArgumentsRequired = true;
|
||||||
// Enable the Executable Arguments Text field
|
// Enable the Executable Arguments Text field
|
||||||
txt_start_program_args.Enabled = true;
|
txt_start_program_args.Enabled = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
myStartProgram.ExecutableArgumentsRequired = false;
|
||||||
// Disable the Executable Arguments Text field
|
// Disable the Executable Arguments Text field
|
||||||
txt_start_program_args.Enabled = false;
|
txt_start_program_args.Enabled = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user