forked from M-Labs/artiq
1
0
Fork 0

dashboard: allow more than 99 scan points

This commit is contained in:
Robert Jördens 2016-04-08 01:10:41 +08:00
parent 5fef95b073
commit 1d3c0166da
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ class _RangeScan(LayoutWidget):
npoints = QtWidgets.QSpinBox() npoints = QtWidgets.QSpinBox()
npoints.setMinimum(1) npoints.setMinimum(1)
npoints.setMaximum((1 << 31) - 1)
disable_scroll_wheel(npoints) disable_scroll_wheel(npoints)
self.addWidget(npoints, 1, 1) self.addWidget(npoints, 1, 1)