From f45dc867263a799c1af3bf8e64063bf795681c26 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 May 2015 19:01:31 +0300 Subject: Set mWindow pointer to self in postInit base methods for window and popup. --- src/gui/widgets/popup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/popup.h') diff --git a/src/gui/widgets/popup.h b/src/gui/widgets/popup.h index f39a92ec0..1d5bf0492 100644 --- a/src/gui/widgets/popup.h +++ b/src/gui/widgets/popup.h @@ -172,7 +172,7 @@ class Popup notfinal : public Container, { return mVisible; } virtual void postInit() - { mInit = true; } + { mInit = true; mWindow = this; } protected: int mPadding; /**< Holds the padding of the popup. */ -- cgit v1.2.3-60-g2f50