"misc" view now shows the model state, of the track use of master pitch (#3753)

[cherry-picked from master]
This commit is contained in:
Andrés
2017-08-15 20:35:04 -03:00
committed by Oskar Wallgren
parent a602bf9b29
commit 94646e28fe
3 changed files with 7 additions and 0 deletions

View File

@@ -72,6 +72,11 @@ public:
InstrumentMiscView( InstrumentTrack *it, QWidget* parent );
~InstrumentMiscView();
GroupBox * pitchGroupBox()
{
return m_pitchGroupBox;
}
private:
GroupBox * m_pitchGroupBox;

View File

@@ -27,6 +27,7 @@
#define INSTRUMENT_TRACK_H
#include "AudioPort.h"
#include "GroupBox.h"
#include "InstrumentFunctions.h"
#include "InstrumentSoundShaping.h"
#include "MidiEventProcessor.h"

View File

@@ -1575,6 +1575,7 @@ void InstrumentTrackWindow::modelChanged()
m_arpeggioView->setModel( &m_track->m_arpeggio );
m_midiView->setModel( &m_track->m_midiPort );
m_effectView->setModel( m_track->m_audioPort.effects() );
m_miscView->pitchGroupBox()->setModel(&m_track->m_useMasterPitchModel);
updateName();
}