From 6634313014da21944129825ea51a10ab90c2e3c3 Mon Sep 17 00:00:00 2001 From: Michael Gregorius Date: Sun, 12 Jul 2015 17:14:03 +0200 Subject: [PATCH] Quick fix for #2172 The tool tip for the FxLine now shows the name of the channel. --- src/gui/widgets/FxLine.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/widgets/FxLine.cpp b/src/gui/widgets/FxLine.cpp index 13c20c4c8..ea3282a01 100644 --- a/src/gui/widgets/FxLine.cpp +++ b/src/gui/widgets/FxLine.cpp @@ -91,6 +91,9 @@ FxLine::FxLine( QWidget * _parent, FxMixerView * _mv, int _channelIndex) : "You can remove and move FX channels in the context menu, which is accessed " "by right-clicking the FX channel.\n") ); + + FxMixer * mix = Engine::fxMixer(); + setToolTip( mix->effectChannel( m_channelIndex )->m_name ); } @@ -223,6 +226,7 @@ void FxLine::renameChannel() if( ok && !new_name.isEmpty() ) { mix->effectChannel( m_channelIndex )->m_name = new_name; + setToolTip( new_name ); update(); } }