diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-06 11:31:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-06 11:31:24 +0300 |
commit | 20ad155838f202584cb261ff8a33fd458a04d83f (patch) | |
tree | 7744905ed6c10e1b46b1c59223637324ba0174be /src/gui/widgets/widget.cpp | |
parent | cc6a796f11bdbce53b60c0992020c569f74dd9ce (diff) | |
download | manaverse-20ad155838f202584cb261ff8a33fd458a04d83f.tar.gz manaverse-20ad155838f202584cb261ff8a33fd458a04d83f.tar.bz2 manaverse-20ad155838f202584cb261ff8a33fd458a04d83f.tar.xz manaverse-20ad155838f202584cb261ff8a33fd458a04d83f.zip |
Move redraw flag from widgets into base widget.
Diffstat (limited to 'src/gui/widgets/widget.cpp')
-rw-r--r-- | src/gui/widgets/widget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/widget.cpp b/src/gui/widgets/widget.cpp index c61881673..5a51a2012 100644 --- a/src/gui/widgets/widget.cpp +++ b/src/gui/widgets/widget.cpp @@ -108,7 +108,8 @@ Widget::Widget(const Widget2 *const widget) : mTabOut(true), mEnabled(true), mAllowLogic(true), - mMouseConsume(true) + mMouseConsume(true), + mRedraw(true) { mWidgets.push_back(this); mWidgetsSet.insert(this); |