Skip to content

Commit f2eba50

Browse files
committed
addressed another issue caused by pyside6
1 parent 04ae698 commit f2eba50

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

trace/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
QVBoxLayout,
2525
QApplication,
2626
QButtonGroup,
27+
QAbstractButton,
2728
)
2829
from pyqtgraph.exporters import ImageExporter
2930
from services.elog_client import get_user, post_entry
@@ -462,7 +463,8 @@ def set_plot_timerange(self, timerange: tuple[float, float]) -> None:
462463

463464
@Slot()
464465
@Slot(float)
465-
def set_auto_scroll_span(self, timespan: float = None) -> None:
466+
@Slot(QAbstractButton, bool)
467+
def set_auto_scroll_span(self, _=None, timespan: float = None) -> None:
466468
"""Slot to be called when a timespan setting button is pressed.
467469
This will enable autoscrolling along the x-axis and disable mouse
468470
controls. If the "Cursor" button is pressed, then autoscrolling is

0 commit comments

Comments
 (0)