diff options
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index f3ff896e..aa9f05ed 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -611,7 +611,8 @@ void Layout::updateCursor () void Layout::setBgColor (style::Color *color) { bgColor = color; - view->setBgColor (bgColor); + if (view) + view->setBgColor (bgColor); } void Layout::resizeIdle () |