Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix connected widgets do not update in some circumstances
  • Loading branch information
nyalldawson committed Jan 16, 2019
1 parent f89d061 commit 200d4f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/qgspropertyoverridebutton.cpp
Expand Up @@ -677,6 +677,7 @@ void QgsPropertyOverrideButton::showExpressionDialog()
mProperty.setExpressionString( mExpressionString );
mProperty.setTransformer( nullptr );
setActivePrivate( !mExpressionString.isEmpty() );
updateSiblingWidgets( isActive() );
updateGui();
emit changed();
}
Expand Down Expand Up @@ -704,6 +705,7 @@ void QgsPropertyOverrideButton::showAssistant()
widget->updateProperty( this->mProperty );
mExpressionString = this->mProperty.asExpression();
mFieldName = this->mProperty.field();
updateSiblingWidgets( isActive() );
this->emit changed();
} );

Expand Down Expand Up @@ -734,6 +736,7 @@ void QgsPropertyOverrideButton::showAssistant()
mExpressionString = mProperty.asExpression();
mFieldName = mProperty.field();
widget->acceptPanel();
updateSiblingWidgets( isActive() );
updateGui();

emit changed();
Expand Down

0 comments on commit 200d4f6

Please sign in to comment.