Skip to content

Commit 1e15c9f

Browse files
committedJan 15, 2019
Fix connected widgets do not update in some circumstances
(cherry picked from commit 0058dfc)
1 parent 8ad544d commit 1e15c9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/gui/qgspropertyoverridebutton.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ void QgsPropertyOverrideButton::showExpressionDialog()
609609
mProperty.setExpressionString( mExpressionString );
610610
mProperty.setTransformer( nullptr );
611611
setActivePrivate( !mExpressionString.isEmpty() );
612+
updateSiblingWidgets( isActive() );
612613
updateGui();
613614
emit changed();
614615
}
@@ -636,6 +637,7 @@ void QgsPropertyOverrideButton::showAssistant()
636637
widget->updateProperty( this->mProperty );
637638
mExpressionString = this->mProperty.asExpression();
638639
mFieldName = this->mProperty.field();
640+
updateSiblingWidgets( isActive() );
639641
this->emit changed();
640642
} );
641643

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

671674
emit changed();

0 commit comments

Comments
 (0)
Please sign in to comment.