Skip to content
Permalink
Browse files

[composer] Don't deselect items when unlocking them from the items panel

  • Loading branch information
nyalldawson committed Jul 31, 2014
1 parent aa40d61 commit a309a6c051185ebafbf5b46a6843e7b3907b4e94
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/core/composer/qgscomposermodel.cpp
@@ -204,7 +204,11 @@ bool QgsComposerModel::setData( const QModelIndex & index, const QVariant & valu
case LockStatus:
//second column is item lock state
item->setPositionLock( value.toBool() );
item->setSelected( false );
if ( value.toBool() )
{
//deselect item when locking
item->setSelected( false );
}
emit dataChanged( index, index );
return true;

0 comments on commit a309a6c

Please sign in to comment.
You can’t perform that action at this time.