Fixes bug when changing regexpEditor highlight color
authorLuís Pereira <luis.artur.pereira@gmail.com>
Mon, 12 Mar 2012 15:29:00 +0000 (08:29 -0700)
committerLuís Pereira <luis.artur.pereira@gmail.com>
Mon, 12 Mar 2012 15:29:00 +0000 (08:29 -0700)
commit0113949038c6c9de58a02d527cdbd2195b07131e
tree525542a9ac598bd5405502c2cf6fa7442a9f3c09
parentc17c4fcef9aae1091335ae1ae5ca832968163e5c
Fixes bug when changing regexpEditor highlight color

If highlight isn't enabled just update the stored highlight color.
setHighlightColor() changes highlight color even if highlight is disabled.
This isn't what we want. So, we only call setHighlightColor() if highlight
is enabled.

Signed-off-by: Luís Pereira <luis.artur.pereira@gmail.com>
src/regexptextedit.cpp