From f4676284071bde58c82bad12d3f8fa5f492d091d Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 15 Dec 2013 21:14:24 -0300 Subject: [PATCH] Timeline: Redraw all document views when a layer visibility is modified --- src/app/ui/timeline.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/ui/timeline.cpp b/src/app/ui/timeline.cpp index 526943a84..81ae89335 100644 --- a/src/app/ui/timeline.cpp +++ b/src/app/ui/timeline.cpp @@ -626,6 +626,9 @@ bool Timeline::onProcessMessage(Message* msg) Layer* layer = m_layers[m_clk_layer]; ASSERT(layer != NULL); layer->setReadable(!layer->isReadable()); + + // Redraw all views. + m_document->notifyGeneralUpdate(); } break; case A_PART_LAYER_PADLOCK_ICON: