From edbe8336cc63a10bd6a514c3dae101599ba7ebe3 Mon Sep 17 00:00:00 2001 From: Wong Cho Ching Date: Sat, 1 Feb 2014 10:36:47 +0800 Subject: [PATCH] Hide RANGE spinbox when the instrument is not bendable --- src/tracks/InstrumentTrack.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tracks/InstrumentTrack.cpp b/src/tracks/InstrumentTrack.cpp index c4cc26a8f..6d491af29 100644 --- a/src/tracks/InstrumentTrack.cpp +++ b/src/tracks/InstrumentTrack.cpp @@ -1332,6 +1332,7 @@ void InstrumentTrackWindow::modelChanged() { m_pitchKnob->hide(); m_pitchKnob->setModel( NULL ); + m_pitchRangeSpinBox->hide(); } m_ssView->setModel( &m_track->m_soundShaping );