Skip to content
Permalink
Browse files

[Bugfix] Enable adding color in Options->Color tab

  • Loading branch information
DelazJ authored and nyalldawson committed Nov 5, 2017
1 parent eb6f64e commit 5523b0597b0551e27adaaaba01e8a5c222710cb2
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsoptions.cpp
@@ -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 );

0 comments on commit 5523b05

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