Skip to content
Permalink
Browse files

Fix color menu disappears immediately when tweaking color on qt 5.15 …

…builds
  • Loading branch information
nyalldawson committed Nov 15, 2020
1 parent 1d38e6f commit bff43e44fd19fbb7a0663ae4fee6ccfd2f78c759
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgscolorwidgets.cpp
@@ -1734,9 +1734,9 @@ void QgsColorWidgetAction::onHover()
void QgsColorWidgetAction::setColor( const QColor &color )
{
emit colorChanged( color );
QAction::trigger();
if ( mMenu && mDismissOnColorSelection )
{
QAction::trigger();
mMenu->hide();
}
}

0 comments on commit bff43e4

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