diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-10-17 21:00:33 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2010-10-17 21:00:33 +0200 |
commit | 4559dca701ec188c97d7a8983fce1922abdf57c6 (patch) | |
tree | 21059db8e6a3ced11ec320093687240ccd53145c /src/styleengine.cc | |
parent | f8443a8111ed42cd141a0541046ebc1442fcda6c (diff) |
also recompute backgroundStyle in StyleEngine::restyle()
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index e725649d..72d7c48b 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -746,6 +746,10 @@ void StyleEngine::restyle () { n->wordStyle->unref (); n->wordStyle = NULL; } + if (n->backgroundStyle) { + n->backgroundStyle->unref (); + n->backgroundStyle = NULL; + } style0 (i); } |