-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"misc" view now shows the model state, of the track use of master pitch #3753
Conversation
Good observation! I haven't tested it yet, but It should be work. |
getPitchGroupBox() should be renamed pitchGroupBox(), according to Qt and Lmms coventions. BTW, thanks for the fix. If you spend a bit more time on refactoring the models/properties for the Track class, that would be great. |
I tested this and it works like a charm 👍 But @gi0e5b06 is right it seems inconsistent with the rest of the software so that'd need to change before a merge. |
I think @gi0e5b06 is right, too.
Yes, it's our convention.
It is recommended, but I think it's not necessary. |
Addressed |
include/InstrumentMidiIOView.h
Outdated
@@ -72,7 +72,7 @@ class InstrumentMiscView : public QWidget | |||
InstrumentMiscView( InstrumentTrack *it, QWidget* parent ); | |||
~InstrumentMiscView(); | |||
|
|||
GroupBox * getPitchGroupBox() | |||
GroupBox * PitchGroupBox() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lower case here: PitchGroupBox()
-> pitchGroupBox()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@serdnab This is our convention, too.
Done |
Tested! This fixes the issue. |
…ch (#3753) [cherry-picked from master]
…ch (LMMS#3753) [cherry-picked from master]
Fix for #2612.
When an already created instance of
InstrumentTrackWindow
is used, the master pitchGroupBox
isn't refreshed.Now, if this is the case, when
modelChanged()
is invoked, the refresh is done.