"misc" view now shows the model state, of the track use of master pitch (#3753)
[cherry-picked from master]
This commit is contained in:
@@ -72,6 +72,11 @@ public:
|
||||
InstrumentMiscView( InstrumentTrack *it, QWidget* parent );
|
||||
~InstrumentMiscView();
|
||||
|
||||
GroupBox * pitchGroupBox()
|
||||
{
|
||||
return m_pitchGroupBox;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
GroupBox * m_pitchGroupBox;
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#define INSTRUMENT_TRACK_H
|
||||
|
||||
#include "AudioPort.h"
|
||||
#include "GroupBox.h"
|
||||
#include "InstrumentFunctions.h"
|
||||
#include "InstrumentSoundShaping.h"
|
||||
#include "MidiEventProcessor.h"
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user