diff --git a/src/gui/widgets/InstrumentMidiIOView.cpp b/src/gui/widgets/InstrumentMidiIOView.cpp index 8c511f95a..724f835f0 100644 --- a/src/gui/widgets/InstrumentMidiIOView.cpp +++ b/src/gui/widgets/InstrumentMidiIOView.cpp @@ -64,8 +64,7 @@ InstrumentMidiIOView::InstrumentMidiIOView( QWidget* parent ) : midiInputLayout->addWidget( m_inputChannelSpinBox ); m_fixedInputVelocitySpinBox = new LcdSpinBox( 3, m_midiInputGroupBox ); - m_fixedInputVelocitySpinBox->setDisplayOffset( 1 ); - m_fixedInputVelocitySpinBox->addTextForValue( 0, "---" ); + m_fixedInputVelocitySpinBox->addTextForValue( -1, "---" ); /*: This string must be be short, its width must be less than * width of LCD spin-box of three digits */ m_fixedInputVelocitySpinBox->setLabel( tr( "VELOC" ) ); @@ -95,8 +94,7 @@ InstrumentMidiIOView::InstrumentMidiIOView( QWidget* parent ) : midiOutputLayout->addWidget( m_outputChannelSpinBox ); m_fixedOutputVelocitySpinBox = new LcdSpinBox( 3, m_midiOutputGroupBox ); - m_fixedOutputVelocitySpinBox->setDisplayOffset( 1 ); - m_fixedOutputVelocitySpinBox->addTextForValue( 0, "---" ); + m_fixedOutputVelocitySpinBox->addTextForValue( -1, "---" ); /*: This string must be be short, its width must be less than * width of LCD spin-box of three digits */ m_fixedOutputVelocitySpinBox->setLabel( tr( "VELOC" ) ); @@ -111,8 +109,7 @@ InstrumentMidiIOView::InstrumentMidiIOView( QWidget* parent ) : midiOutputLayout->addWidget( m_outputProgramSpinBox ); m_fixedOutputNoteSpinBox = new LcdSpinBox( 3, m_midiOutputGroupBox ); - m_fixedOutputNoteSpinBox->setDisplayOffset( 1 ); - m_fixedOutputNoteSpinBox->addTextForValue( 0, "---" ); + m_fixedOutputNoteSpinBox->addTextForValue( -1, "---" ); /*: This string must be be short, its width must be less than * width of LCD spin-box of three digits */ m_fixedOutputNoteSpinBox->setLabel( tr( "NOTE" ) );