- if (!m_effectWidget->getVisibilityAction()->isChecked()) show = false;
- if (m_effectWidget->isVisible() == show) return;
- setUpdatesEnabled(false);
- if (show) {
- if (videoSurface) {
- videoSurface->setVisible(!show);
- // Preview is handeled internally through the Render::showFrame method
- render->disablePreview(show);
- } else {
+ if (!m_effectWidget->getVisibilityAction()->isChecked())
+ show = false;
+ if (m_effectWidget->isVisible() == show)
+ return;
+ setUpdatesEnabled(false);
+ if (show) {
+ if (videoSurface) {
+ videoSurface->setVisible(false);
+ // Preview is handeled internally through the Render::showFrame method
+ render->disablePreview(true);