OpenHantek / OpenHantek6022

OpenHantek6022 is a DSO software for Hantek USB digital signal oscilloscopes 6022BE / BL. Development OS is Debian Linux, but the program also works on FreeBSD, MacOS, RaspberryPi and Windows. No support for non-Linux related issues unless a volunteer steps in!
GNU General Public License v3.0
867 stars 152 forks source link

Fixes #363, refs #365. Splitted HorizontalDock::timebaseChanged handler. #371

Closed nseam closed 1 year ago

nseam commented 1 year ago

Windows 11-targeted fix as it probably works on other platforms.

Splitted HorizontalDock::timebaseChanged event handler from doing operations on dsoControl and dsoWidget in the same callback. Now there are two callback and each uses the QWidget it operates on.

Now we can change horizontal time-base:

image

image

image

Without the fix we encounter such issue:

image

nseam commented 1 year ago

Wrong base branch, sorry!