Commit 9a9b7b52 authored by Halla Rempt's avatar Halla 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;
{ // 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