Skip to content

Commit

Permalink
Fix ratio lock button is incorrectly pressed when unlocking via API
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 18, 2024
1 parent 657307e commit 2f3bbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsratiolockbutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void QgsRatioLockButton::setLocked( const bool locked )
void QgsRatioLockButton::buttonClicked()
{
mLocked = !mLocked;
setDown( mLocked );
setChecked( mLocked );

emit lockChanged( mLocked );

Expand Down

0 comments on commit 2f3bbc6

Please sign in to comment.