diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/horizontcontainer.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/horizontcontainer.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/horizontcontainer.cpp b/src/gui/widgets/horizontcontainer.cpp index 8e3be9662..ff9a5b010 100644 --- a/src/gui/widgets/horizontcontainer.cpp +++ b/src/gui/widgets/horizontcontainer.cpp @@ -34,6 +34,7 @@ HorizontContainer::HorizontContainer(const Widget2 *const widget, { setHeight(height); addWidgetListener(this); + addMouseListener(this); } void HorizontContainer::add(Widget *widget) diff --git a/src/gui/widgets/horizontcontainer.h b/src/gui/widgets/horizontcontainer.h index bef3d0b00..e6e6d38f9 100644 --- a/src/gui/widgets/horizontcontainer.h +++ b/src/gui/widgets/horizontcontainer.h @@ -24,6 +24,7 @@ #include "gui/widgets/container.h" +#include "listeners/tooltiplistener.h" #include "listeners/widgetlistener.h" #include "localconsts.h" @@ -34,7 +35,8 @@ * This container places it's contents veritcally. */ class HorizontContainer final : public Container, - public WidgetListener + public WidgetListener, + public ToolTipListener { public: HorizontContainer(const Widget2 *const widget, |