Skip to content

Commit

Permalink
initially disable advanced digitizing panel (fixes #15073)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 30, 2016
1 parent 174d112 commit 600ff4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7383,7 +7383,7 @@ void QgisApp::editPaste( QgsMapLayer *destinationLayer )
for ( int dst = 0; dst < dstAttr.count(); ++dst )
{
QVariant defVal( pasteVectorLayer->dataProvider()->defaultValue( dst ) );
if( !defVal.isNull() )
if ( !defVal.isNull() )
{
dstAttr[ dst ] = defVal;
}
Expand Down
1 change: 1 addition & 0 deletions src/gui/qgsadvanceddigitizingdockwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ QgsAdvancedDigitizingDockWidget::QgsAdvancedDigitizingDockWidget( QgsMapCanvas*
connect( mSettingsButton, SIGNAL( triggered( QAction* ) ), this, SLOT( settingsButtonTriggered( QAction* ) ) );

updateCapacity( true );
disable();
}

void QgsAdvancedDigitizingDockWidget::hideEvent( QHideEvent* )
Expand Down

0 comments on commit 600ff4f

Please sign in to comment.