Skip to content
Permalink
Browse files
Allow clearing data defined buttons which are set to non-existing fields
  • Loading branch information
nyalldawson committed May 26, 2021
1 parent faa8be2 commit ee03ad5991094ec975118c986075d0e830dec469
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgspropertyoverridebutton.cpp
@@ -600,6 +600,7 @@ void QgsPropertyOverrideButton::menuActionTriggered( QAction *action )
mProperty.setStaticValue( QVariant() );
mProperty.setTransformer( nullptr );
mExpressionString.clear();
mFieldName.clear();
updateSiblingWidgets( isActive() );
updateGui();
emit changed();

0 comments on commit ee03ad5

Please sign in to comment.