Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 67a5aee
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 67a5aee

Please sign in to comment.