From 99cba4b53d8c0f130a612921deace3a7f4145aa0 Mon Sep 17 00:00:00 2001 From: Dominic Clark Date: Sun, 14 Jun 2020 17:40:44 +0100 Subject: [PATCH] Fix some TCOs not saving properly --- src/core/Track.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Track.cpp b/src/core/Track.cpp index 3f9e04fe641..c377d7b42ee 100644 --- a/src/core/Track.cpp +++ b/src/core/Track.cpp @@ -717,7 +717,7 @@ void TrackContentObjectView::mousePressEvent( QMouseEvent * me ) setInitialMousePos( me->pos() ); - if( me->x() < width() - RESIZE_GRIP_WIDTH ) + if( m_tco->getAutoResize() || me->x() < width() - RESIZE_GRIP_WIDTH ) { m_action = Move; setCursor( Qt::SizeAllCursor ); @@ -738,7 +738,7 @@ void TrackContentObjectView::mousePressEvent( QMouseEvent * me ) MidiTime::ticksPerTact() ) ); s_textFloat->moveGlobal( this, QPoint( width() + 2, height() + 2 ) ); } - else if( !m_tco->getAutoResize() ) + else { m_action = Resize; setCursor( Qt::SizeHorCursor );