Commit 9a9b7b52 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Check pointers before dereferencing

parent 58398d96
......@@ -464,6 +464,10 @@ void LutDockerDock::resetOcioConfiguration()
void LutDockerDock::refillControls()
{
if (!m_canvas) return;
if (!m_canvas->viewManager()) return;
if (!m_canvas->viewManager()->resourceProvider()) return;
if (!m_canvas->viewManager()->image()) return;
KIS_ASSERT_RECOVER_RETURN(m_ocioConfig);
{ // Color Management Mode
......
Markdown is supported
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