Skip to content
Permalink
Browse files
Merge pull request #44161 from qgis/backport-44159-to-release-3_20
[Backport release-3_20] Don't disable JsonEditWidget by readonly layer
  • Loading branch information
m-kuhn committed Jul 15, 2021
2 parents d80684b + a983e69 commit 67a5aee46a7713f8d4d15fa0d4c1b57134de60ce
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 67a5aee

Please sign in to comment.