Skip to content
Permalink
Browse files

Fix connected widgets do not update in some circumstances

  • Loading branch information
nyalldawson committed Jan 16, 2019
1 parent f89d061 commit 200d4f6a2ce7cd2aac89c872b974cfc1d4bf630c
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/qgspropertyoverridebutton.cpp
@@ -677,6 +677,7 @@ void QgsPropertyOverrideButton::showExpressionDialog()
mProperty.setExpressionString( mExpressionString );
mProperty.setTransformer( nullptr );
setActivePrivate( !mExpressionString.isEmpty() );
updateSiblingWidgets( isActive() );
updateGui();
emit changed();
}
@@ -704,6 +705,7 @@ void QgsPropertyOverrideButton::showAssistant()
widget->updateProperty( this->mProperty );
mExpressionString = this->mProperty.asExpression();
mFieldName = this->mProperty.field();
updateSiblingWidgets( isActive() );
this->emit changed();
} );

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

emit changed();

0 comments on commit 200d4f6

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