summaryrefslogtreecommitdiff
path: root/src/frame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.cc')
-rw-r--r--src/frame.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.cc b/src/frame.cc
index e85ff345..9606c420 100644
--- a/src/frame.cc
+++ b/src/frame.cc
@@ -75,12 +75,12 @@ void Frame::setStyle(otk::Style *style)
{
assert(style);
- otk::Widget::setStyle(style);
-
// if a style was previously set, then 'replace' is true, cause we're
// replacing a style
bool replace = (_style);
+ otk::Widget::setStyle(style);
+
if (replace) {
// XXX: do shit here whatever
}