Skip to content

Commit

Permalink
Increase snapping tolerance maximum in advanced mode. Fix #18133
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-morvan authored and 3nids committed Feb 22, 2018
1 parent e24b6e6 commit efae0fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgssnappinglayertreemodel.cpp
Expand Up @@ -49,6 +49,7 @@ QWidget *QgsSnappingLayerDelegate::createEditor( QWidget *parent, const QStyleOp
if ( index.column() == QgsSnappingLayerTreeModel::ToleranceColumn )
{
QDoubleSpinBox *w = new QDoubleSpinBox( parent );
w->setMaximum( 99999999.990000 );
QVariant val = index.model()->data( index.model()->sibling( index.row(), QgsSnappingLayerTreeModel::UnitsColumn, index ), Qt::UserRole );
if ( val.isValid() )
{
Expand Down

0 comments on commit efae0fc

Please sign in to comment.