Skip to content

Commit a3a2074

Browse files
committedJun 9, 2016
Make style dock Apply button always enabled
Just in case we miss signals which trigger the live update, it's safer to give users an option to manually apply changes too
1 parent 31c572f commit a3a2074

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎src/app/qgsmapstylingwidget.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,9 @@ QgsMapStylingWidget::QgsMapStylingWidget( QgsMapCanvas* canvas, QList<QgsMapStyl
7272
connect( mAutoApplyTimer, SIGNAL( timeout() ), this, SLOT( apply() ) );
7373

7474
connect( mOptionsListWidget, SIGNAL( currentRowChanged( int ) ), this, SLOT( updateCurrentWidgetLayer() ) );
75-
connect( mLiveApplyCheck, SIGNAL( toggled( bool ) ), mButtonBox->button( QDialogButtonBox::Apply ), SLOT( setDisabled( bool ) ) );
7675
connect( mButtonBox->button( QDialogButtonBox::Apply ), SIGNAL( clicked() ), this, SLOT( apply() ) );
7776
connect( mLayerCombo, SIGNAL( layerChanged( QgsMapLayer* ) ), this, SLOT( setLayer( QgsMapLayer* ) ) );
7877

79-
mButtonBox->button( QDialogButtonBox::Apply )->setEnabled( false );
80-
8178
mStackedWidget->setCurrentIndex( 0 );
8279
}
8380

0 commit comments

Comments
 (0)
Please sign in to comment.