Skip to content

Commit

Permalink
Update src/core/processing/qgsprocessingparameters.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
mhugent and nyalldawson committed Sep 12, 2023
1 parent 37463e3 commit 1335cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/processing/qgsprocessingparameters.cpp
Expand Up @@ -2455,7 +2455,7 @@ QgsProcessingParameterDefinition::QgsProcessingParameterDefinition( const QStrin
QVariant QgsProcessingParameterDefinition::guiDefaultValueOverride() const
{
QVariant defaultSettingsValue = defaultGuiValueFromSetting();
if ( !defaultSettingsValue.isNull() )
if ( defaultSettingsValue.isValid() )
{
return defaultSettingsValue;
}
Expand Down

0 comments on commit 1335cb5

Please sign in to comment.