summaryrefslogtreecommitdiff
path: root/src/ui/tmixpopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tmixpopup.cpp')
-rw-r--r--src/ui/tmixpopup.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/tmixpopup.cpp b/src/ui/tmixpopup.cpp
index 85a0c54..2cdd16a 100644
--- a/src/ui/tmixpopup.cpp
+++ b/src/ui/tmixpopup.cpp
@@ -169,10 +169,17 @@ bool TmixPopup::justHidden() const
return m_hideTime.isValid() && m_hideTime.elapsed() < 100;
}
+void TmixPopup::showEvent( TQShowEvent *e )
+{
+ TQWidget::showEvent( e );
+ m_model->addLevelViewer();
+}
+
void TmixPopup::hideEvent( TQHideEvent *e )
{
TQWidget::hideEvent( e );
m_hideTime.start();
+ m_model->removeLevelViewer();
}
void TmixPopup::wheelEvent( TQWheelEvent *e )