diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-02 16:51:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-02 16:51:19 +0300 |
commit | 70a9ee7cc6a2402c33c3cdd33bc86f02fcb59ade (patch) | |
tree | b36e2984b41b251797670a7569d03138e7f863ac /src/gui/widgets/label.cpp | |
parent | d0d872ffeff89facdd35ce358bd4d9b73cf8332c (diff) | |
download | manaplus-70a9ee7cc6a2402c33c3cdd33bc86f02fcb59ade.tar.gz manaplus-70a9ee7cc6a2402c33c3cdd33bc86f02fcb59ade.tar.bz2 manaplus-70a9ee7cc6a2402c33c3cdd33bc86f02fcb59ade.tar.xz manaplus-70a9ee7cc6a2402c33c3cdd33bc86f02fcb59ade.zip |
Draw each window in unit tests.
Diffstat (limited to 'src/gui/widgets/label.cpp')
-rw-r--r-- | src/gui/widgets/label.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp index 249534945..c32b72b99 100644 --- a/src/gui/widgets/label.cpp +++ b/src/gui/widgets/label.cpp @@ -284,3 +284,8 @@ void Label::widgetHidden(const Event &event A_UNUSED) mTextChanged = true; mTextChunk.deleteImage(); } + +void Label::final() +{ + mSkin = nullptr; +} |