Guard the canvas a bit, it can potentially be null

Authored by leinir on Feb 15 2018, 5:05 PM.

Description

Guard the canvas a bit, it can potentially be null

This would happen fairly consistently on Linux when loading
a document in Gemini, so let's just make sure we avoid
dereferencing a null pointer here.

Details

Committed
leinirFeb 15 2018, 5:05 PM
Parents
R8:3e796e706bca: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown