Hide zig zag checkbox when not dithering

This commit is contained in:
David Thomas 2025-06-23 14:08:52 +01:00
parent 8d0fa49044
commit f5ecead66f
No known key found for this signature in database
GPG Key ID: 553E822E460EE293
1 changed files with 1 additions and 0 deletions

View File

@ -374,6 +374,7 @@ private:
if (m_ditheringSelector) {
const bool toIndexed = (dstColorMode == doc::ColorMode::INDEXED);
m_ditheringSelector->setVisible(toIndexed);
m_zigZagCheck->setVisible(toIndexed);
const bool errorDiff =
(render::DitheringAlgorithmIsDiffusion(m_ditheringSelector->ditheringAlgorithm()));