Skip to content

Commit

Permalink
merge fix for #363 and #365 - thank you @nseam
Browse files Browse the repository at this point in the history
Signed-off-by: Martin <[email protected]>
  • Loading branch information
Ho-Ro committed Aug 8, 2023
2 parents 50bbaac + 875a8dc commit db25fbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openhantek/src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,9 @@ MainWindow::MainWindow( HantekDsoControl *dsoControl, DsoSettings *settings, Exp
connect( horizontalDock, &HorizontalDock::timebaseChanged, triggerDock, &TriggerDock::timebaseChanged );
connect( horizontalDock, &HorizontalDock::timebaseChanged, dsoControl, [ dsoControl, this ]() {
dsoControl->setRecordTime( dsoSettings->scope.horizontal.timebase * DIVS_TIME );
this->dsoWidget->updateTimebase( dsoSettings->scope.horizontal.timebase );
} );
connect( horizontalDock, &HorizontalDock::timebaseChanged, this->dsoWidget,
[ this ]() { dsoWidget->updateTimebase( dsoSettings->scope.horizontal.timebase ); } );
connect( spectrumDock, &SpectrumDock::frequencybaseChanged, this,
[ this ]( double frequencybase ) { this->dsoWidget->updateFrequencybase( frequencybase ); } );
connect( dsoControl, &HantekDsoControl::samplerateChanged, horizontalDock,
Expand Down

0 comments on commit db25fbd

Please sign in to comment.