Skip to content
Permalink
Browse files
Merge pull request #44159 from domi4484/jsonEditWidgetDisabled
Don't disable JsonEditWidget by readonly layer
  • Loading branch information
m-kuhn committed Jul 14, 2021
2 parents 94aa4a4 + 50fca8f commit 1f2f0ab4ee61b5c458ff4cba9327e13398aca302
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/editorwidgets/qgsjsoneditwrapper.cpp
@@ -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.