Commit cb818205 authored by Agata Cacko's avatar Agata Cacko
Browse files

Fix updates in Channels docker

Before this commit, the Channels docker wouldn't get
updates on changes on canvas. This commit ensures that the docker
will know about the canvas changes and update the view.
Thanks to that, the previews in the docker are up to date.
parent 789edc1c
......@@ -87,6 +87,8 @@ void ChannelDockerDock::setCanvas(KoCanvasBase * canvas)
connect(m_imageIdleWatcher, &KisIdleWatcher::startedIdleMode, this, &ChannelDockerDock::updateChannelTable);
connect(m_canvas->image(), SIGNAL(sigImageUpdated(QRect)), this, SLOT(startUpdateCanvasProjection()), Qt::UniqueConnection);
connect(dev, SIGNAL(colorSpaceChanged(const KoColorSpace*)), m_model, SLOT(slotColorSpaceChanged(const KoColorSpace*)));
connect(dev, SIGNAL(colorSpaceChanged(const KoColorSpace*)), m_canvas, SLOT(channelSelectionChanged()));
connect(m_model, SIGNAL(channelFlagsChanged()), m_canvas, SLOT(channelSelectionChanged()));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment