Skip to content

Commit 8022855

Browse files
wonder-skmach0
authored andcommitted
Fix #4479 - trigger "new color ramp" always when activated
1 parent cfab3fa commit 8022855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/symbology-ng/qgscolorrampcombobox.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void QgsColorRampComboBox::populate( QgsStyleV2* style )
3838
}
3939

4040
addItem( tr( "New color ramp..." ) );
41-
connect( this, SIGNAL( currentIndexChanged( int ) ), SLOT( colorRampChanged( int ) ) );
41+
connect( this, SIGNAL( activated( int ) ), SLOT( colorRampChanged( int ) ) );
4242
}
4343

4444
QgsVectorColorRampV2* QgsColorRampComboBox::currentColorRamp()

0 commit comments

Comments
 (0)