From e3c645ec539ea9dbd7ba2779c27452c501dcac5b Mon Sep 17 00:00:00 2001 From: Michael Gregorius Date: Mon, 6 Jul 2015 21:52:25 +0200 Subject: [PATCH] Fixes #2164 The master volume float was not updated when the master volume was chamged using the mouse wheel. This commit fixes that problem. --- src/gui/editors/SongEditor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/editors/SongEditor.cpp b/src/gui/editors/SongEditor.cpp index 2807c7a67..57199aa1b 100644 --- a/src/gui/editors/SongEditor.cpp +++ b/src/gui/editors/SongEditor.cpp @@ -415,7 +415,9 @@ void SongEditor::closeEvent( QCloseEvent * _ce ) void SongEditor::setMasterVolume( int _new_val ) { - if( m_mvsStatus->isVisible() == false && m_song->m_loadingProject == false + updateMasterVolumeFloat( _new_val ); + + if( !m_mvsStatus->isVisible() && !m_song->m_loadingProject && m_masterVolumeSlider->showStatus() ) { m_mvsStatus->moveGlobal( m_masterVolumeSlider,