diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-09-24 23:44:47 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-09-24 23:44:47 +0200 |
commit | a6cf69ecca7f17838f551a2983e2277440ec3f0d (patch) | |
tree | 241eb105146d373c235cda587c3e561e6e9e9296 /dw | |
parent | b66ff3ea295863bebe2d062df0c235891f9a597b (diff) |
call layout->setBgColor() from web.cc
Diffstat (limited to 'dw')
-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 () |