Skip to content

Commit

Permalink
Merge pull request #44159 from domi4484/jsonEditWidgetDisabled
Browse files Browse the repository at this point in the history
Don't disable JsonEditWidget by readonly layer
  • Loading branch information
m-kuhn committed Jul 14, 2021
2 parents 94aa4a4 + 50fca8f commit 1f2f0ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/editorwidgets/qgsjsoneditwrapper.cpp
Expand Up @@ -79,7 +79,7 @@ void QgsJsonEditWrapper::updateValues( const QVariant &value, const QVariantList

void QgsJsonEditWrapper::setEnabled( bool enabled )
{
if ( mJsonEditWidget )
mJsonEditWidget->setEnabled( enabled );
// No need to disable JsonEditWidget as it is already read only
Q_UNUSED( enabled )
}

0 comments on commit 1f2f0ab

Please sign in to comment.