Skip to content
Permalink
Browse files

Unify code

  • Loading branch information
nyalldawson committed Jan 17, 2019
1 parent 3d283c1 commit 572e2d54152c0bd665525984a456dd8653c01587
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgscolorbutton.cpp
@@ -495,7 +495,7 @@ QPixmap QgsColorButton::createMenuIcon( const QColor &color, const bool showChec

void QgsColorButton::buttonClicked()
{
if ( !mLinkedColorName.isEmpty() )
if ( linkedProjectColor().isValid() )
{
QToolButton::showMenu();
}

0 comments on commit 572e2d5

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