Skip to content
Permalink
Browse files

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

…builds

(cherry picked from commit bff43e4)
  • Loading branch information
nyalldawson committed Nov 20, 2020
1 parent b381a90 commit 2f86f6d914a9ab965c94b79fd4dfb7f92d3974bc
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 2f86f6d

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