Skip to content
Permalink
Browse files

Fix connected widgets do not update in some circumstances

(cherry picked from commit 0058dfc)
  • Loading branch information
nyalldawson committed Jan 15, 2019
1 parent 8ad544d commit 1e15c9fa7f35f4297c9a8749834e4fd59008e6a3
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/qgspropertyoverridebutton.cpp
@@ -609,6 +609,7 @@ void QgsPropertyOverrideButton::showExpressionDialog()
mProperty.setExpressionString( mExpressionString );
mProperty.setTransformer( nullptr );
setActivePrivate( !mExpressionString.isEmpty() );
updateSiblingWidgets( isActive() );
updateGui();
emit changed();
}
@@ -636,6 +637,7 @@ void QgsPropertyOverrideButton::showAssistant()
widget->updateProperty( this->mProperty );
mExpressionString = this->mProperty.asExpression();
mFieldName = this->mProperty.field();
updateSiblingWidgets( isActive() );
this->emit changed();
} );

@@ -666,6 +668,7 @@ void QgsPropertyOverrideButton::showAssistant()
mExpressionString = mProperty.asExpression();
mFieldName = mProperty.field();
widget->acceptPanel();
updateSiblingWidgets( isActive() );
updateGui();

emit changed();

0 comments on commit 1e15c9f

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