Skip to content
Permalink
Browse files

Condense logic

  • Loading branch information
nyalldawson committed Jul 24, 2020
1 parent ea3eb72 commit b6ae6433044f9d0a542d12bfbe2052e296dd5d31
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/gui/symbology/qgssymbollayerwidget.cpp
@@ -346,9 +346,7 @@ void QgsSimpleLineSymbolLayerWidget::setSymbolLayer( QgsSymbolLayer *layer )

whileBlocking( mCheckAlignDash )->setChecked( mLayer->alignDashPattern() );
mCheckDashCorners->setEnabled( mLayer->alignDashPattern() );
whileBlocking( mCheckDashCorners )->setChecked( mLayer->tweakDashPatternOnCorners() );
if ( !mLayer->alignDashPattern() )
mCheckDashCorners->setChecked( false );
whileBlocking( mCheckDashCorners )->setChecked( mLayer->tweakDashPatternOnCorners() && mLayer->alignDashPattern() );

updatePatternIcon();

0 comments on commit b6ae643

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