diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-23 19:01:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-23 19:01:31 +0300 |
commit | f45dc867263a799c1af3bf8e64063bf795681c26 (patch) | |
tree | 9b2338c7a276c328874e8119f8ec407de8644647 /src/gui/widgets/window.h | |
parent | 6ad3584c69d102a7592eaac1a3d7374cf610895f (diff) | |
download | manaverse-f45dc867263a799c1af3bf8e64063bf795681c26.tar.gz manaverse-f45dc867263a799c1af3bf8e64063bf795681c26.tar.bz2 manaverse-f45dc867263a799c1af3bf8e64063bf795681c26.tar.xz manaverse-f45dc867263a799c1af3bf8e64063bf795681c26.zip |
Set mWindow pointer to self in postInit base methods for window and popup.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r-- | src/gui/widgets/window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 83f88f726..90d0ade38 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -286,7 +286,7 @@ class Window notfinal : public BasicContainer2, { mSaveVisible = save; } virtual void postInit() - { mInit = true; } + { mInit = true; mWindow = this; } /** * Returns the parent window. |