Skip to content

Let Options open at any max instances that can be set - #819

Merged
SimonCropp merged 1 commit into
mainfrom
fix-options-max-instances
Aug 22, 2026
Merged

Let Options open at any max instances that can be set#819
SimonCropp merged 1 commit into
mainfrom
fix-options-max-instances

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

maxInstancesNumericUpDown was left at NumericUpDown's default Maximum of 100 while
MaxInstance takes any ushort, so DiffEngine_MaxInstances=500 made the OptionsForm
constructor throw ArgumentOutOfRangeException on the line that shows the current
value - and Options is where that value would have been lowered again, so the tray
was stuck with it until the environment variable was edited by hand.

The spinner's range is now the range the setting has.

maxInstancesNumericUpDown was left at NumericUpDown's default Maximum of 100 while
MaxInstance takes any ushort, so DiffEngine_MaxInstances=500 made the OptionsForm
constructor throw ArgumentOutOfRangeException on the line that shows the current
value - and Options is where that value would have been lowered again, so the tray
was stuck with it until the environment variable was edited by hand.

The spinner's range is now the range the setting has.
@SimonCropp SimonCropp added this to the 20.0.0 milestone Aug 22, 2026
@SimonCropp
SimonCropp merged commit ba08f43 into main Aug 22, 2026
10 checks passed
@SimonCropp
SimonCropp deleted the fix-options-max-instances branch August 22, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant