Skip to content

Commit

Permalink
Merge pull request #5101 from boundlessgeo/fix_pseudocolor_ramp_widget
Browse files Browse the repository at this point in the history
Fix broken qgscolorramp button
  • Loading branch information
elpaso committed Sep 1, 2017
2 parents 247d265 + b6d8675 commit d915242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgscolorrampbutton.cpp
Expand Up @@ -337,7 +337,7 @@ void QgsColorRampButton::loadColorRamp()
QAction *selectedItem = qobject_cast<QAction *>( sender() );
if ( selectedItem )
{
QString name = selectedItem->text();
QString name = selectedItem->iconText();
setColorRampName( name );
setColorRampFromName( name );
}
Expand Down

0 comments on commit d915242

Please sign in to comment.