Skip to content
Permalink
Browse files

[style manager] update ramp type naming button shortcuts

  • Loading branch information
nirvn committed Dec 3, 2016
1 parent a26434e commit 4a5876854c500f87f6f5a9e29044b566a60777c8
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/symbology-ng/qgsstylemanagerdialog.cpp
@@ -142,8 +142,8 @@ QgsStyleManagerDialog::QgsStyleManagerDialog( QgsStyle* style, QWidget* parent )

// Menu for the "Add item" toolbutton when in colorramp mode
QStringList rampTypes;
rampTypes << tr( "Gradient" ) << tr( "Random" ) << tr( "ColorBrewer" ) << tr( "Preset colors" );
rampTypes << tr( "cpt-city" ); // todo, only for rasters?
rampTypes << tr( "Gradient" ) << tr( "Color presets" ) << tr( "Random" ) << tr( "Catalog: cpt-city" );
rampTypes << tr( "Catalog: ColorBrewer" );
mMenuBtnAddItemColorRamp = new QMenu( this );
Q_FOREACH ( const QString& rampType, rampTypes )
mMenuBtnAddItemColorRamp->addAction( new QAction( rampType, this ) );

0 comments on commit 4a58768

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