Skip to content

fix preview callback

Tom Yan requested to merge tomty89/inkscape:preview into master

_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