fix(waveform): autorange is applied with 150ms delay after curve is added

This commit is contained in:
wyzula_j authored and Jan Wyzula committed 2025-07-26 14:43:51 +02:00
1 parent c8aa770de3
commit 61e5bde15f
1 file changed
+4
@@ -908,6 +908,10 @@ class Waveform(PlotBase):
self.roi_enable.emit(True) # Enable the ROI toolbar action
self.request_dap() # Request DAP update directly without blocking proxy
QTimer.singleShot(
150, self.auto_range
) # autorange with a delay to ensure the plot is updated
return curve
def _add_curve_object(self, name: str, config: CurveConfig) -> Curve: