Skip to content

Commit

Permalink
[Bugfix] Enable adding color in Options->Color tab
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Nov 5, 2017
1 parent eb6f64e commit 5523b05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsoptions.cpp
Expand Up @@ -806,8 +806,9 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
//
// Color palette
//
connect( mButtonCopyColors, &QAbstractButton::clicked, mTreeCustomColors, &QgsColorSchemeList::copyColors );
connect( mButtonAddColor, &QAbstractButton::clicked, this, &QgsOptions::addColor );
connect( mButtonRemoveColor, &QAbstractButton::clicked, mTreeCustomColors, &QgsColorSchemeList::removeSelection );
connect( mButtonCopyColors, &QAbstractButton::clicked, mTreeCustomColors, &QgsColorSchemeList::copyColors );
connect( mButtonPasteColors, &QAbstractButton::clicked, mTreeCustomColors, &QgsColorSchemeList::pasteColors );
connect( mButtonImportColors, &QAbstractButton::clicked, mTreeCustomColors, &QgsColorSchemeList::showImportColorsDialog );
connect( mButtonExportColors, &QAbstractButton::clicked, mTreeCustomColors, &QgsColorSchemeList::showExportColorsDialog );
Expand Down

0 comments on commit 5523b05

Please sign in to comment.