don't allow dragging TCOs in BBEditor#3832
Conversation
|
For better modularity: Can you try implementing the fix in the affected subclass ( |
|
I was under the impression |
|
Didn't know about |
|
Sometimes it's easier than imagined. 🙄 |
|
|
||
| BBTrackContainer * isbbEditor = dynamic_cast<BBTrackContainer*>( getTrackContentObject()->getTrack()->trackContainer() ); | ||
| if( !isbbEditor && me->button() == Qt::LeftButton ) | ||
| if( me->button() == Qt::LeftButton && fixedTCOs() == false ) |
There was a problem hiding this comment.
You could just to !FixedTCOs() since it's a boolean
There was a problem hiding this comment.
I wanted to be consist with the rest of the code. But if there are no objections I do it for the whole If statement.
There was a problem hiding this comment.
!FixedTCOs() makes more sense to me because I literally read it "If it's not a Fixed TCO"
|
Just tested this out, works well, fixes the bug 👍 |
* don't allow dragging TCOs in BBEditor * change bbtrack detecting * code improvements

fixes #3822