Skip to content

Commit

Permalink
Allow clearing data defined buttons which are set to non-existing fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 26, 2021
1 parent faa8be2 commit ee03ad5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/qgspropertyoverridebutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,7 @@ void QgsPropertyOverrideButton::menuActionTriggered( QAction *action )
mProperty.setStaticValue( QVariant() );
mProperty.setTransformer( nullptr );
mExpressionString.clear();
mFieldName.clear();
updateSiblingWidgets( isActive() );
updateGui();
emit changed();
Expand Down

0 comments on commit ee03ad5

Please sign in to comment.