[go: up one dir, main page]

fix preview callback

_updatePreviewCallback() was used for both previewCheckbox.signal_toggled() (indirectly) and signal_update_preview() (directly). However, the state of the widget was neither set or checked in the latter case.

We should simply use one callback for both signals and always set state for the widget according to the state of the checkbox.

Fixes #2549 (closed).

Edited by Tom Yan

Merge request reports

Loading