From 6ad3584c69d102a7592eaac1a3d7374cf610895f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 May 2015 18:48:53 +0300 Subject: Add missing calls to postInit for windows and popups. --- src/gui/popups/createpartypopup.h | 1 + src/gui/widgets/popuplist.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src/gui') diff --git a/src/gui/popups/createpartypopup.h b/src/gui/popups/createpartypopup.h index bd5899726..b7f596e36 100644 --- a/src/gui/popups/createpartypopup.h +++ b/src/gui/popups/createpartypopup.h @@ -55,6 +55,7 @@ class CreatePartyPopup final : public Popup, void postInit() override final { + Popup::postInit(); add(mBrowserBox); setContentSize(mBrowserBox->getWidth() + 8, mBrowserBox->getHeight() + 8); diff --git a/src/gui/widgets/popuplist.cpp b/src/gui/widgets/popuplist.cpp index c459fe351..d8c1d79dc 100644 --- a/src/gui/widgets/popuplist.cpp +++ b/src/gui/widgets/popuplist.cpp @@ -55,6 +55,7 @@ PopupList::PopupList(DropDown *const widget, void PopupList::postInit() { + Popup::postInit(); add(mScrollArea); if (gui) -- cgit v1.2.3-70-g09d2