mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-10 00:13:55 -04:00
Unify code
This commit is contained in:
parent
3d283c1b05
commit
572e2d5415
@ -495,7 +495,7 @@ QPixmap QgsColorButton::createMenuIcon( const QColor &color, const bool showChec
|
||||
|
||||
void QgsColorButton::buttonClicked()
|
||||
{
|
||||
if ( !mLinkedColorName.isEmpty() )
|
||||
if ( linkedProjectColor().isValid() )
|
||||
{
|
||||
QToolButton::showMenu();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user