Skip to content

Commit f06b772

Browse files
authored
Merge pull request #533 from open-ephys/issue-532
Allow Neuropixels calibration file text boxes to be modified manually
2 parents faf6ea1 + 15913cb commit f06b772

File tree

4 files changed

+46
-36
lines changed

4 files changed

+46
-36
lines changed

OpenEphys.Onix1.Design/NeuropixelsV1ProbeConfigurationDialog.Designer.cs

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OpenEphys.Onix1.Design/NeuropixelsV1ProbeConfigurationDialog.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,5 +454,10 @@ private void UpdateTrackBarLocation(object sender, EventArgs e)
454454
{
455455
trackBarProbePosition.Value = (int)(ChannelConfiguration.GetRelativeVerticalPosition() * 100);
456456
}
457+
458+
void TextBoxKeyPress(object sender, KeyPressEventArgs e)
459+
{
460+
CheckStatus();
461+
}
457462
}
458463
}

OpenEphys.Onix1.Design/NeuropixelsV2eProbeConfigurationDialog.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

OpenEphys.Onix1.Design/NeuropixelsV2eProbeConfigurationDialog.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,5 +641,10 @@ private void UpdateTrackBarLocation(object sender, EventArgs e)
641641
{
642642
trackBarProbePosition.Value = (int)(ChannelConfiguration.GetRelativeVerticalPosition() * trackBarProbePosition.Maximum);
643643
}
644+
645+
void TextBoxKeyPress(object sender, KeyPressEventArgs e)
646+
{
647+
CheckStatus();
648+
}
644649
}
645650
}

0 commit comments

Comments
 (0)