Skip to content
Permalink
Browse files
Don't disable JsonEditWidget by readonly layer (widget is alway reado…
…nly)
  • Loading branch information
domi4484 committed Jul 14, 2021
1 parent 298a451 commit 50fca8fe6e7bf4fea698bb57f8911e14eab67726
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 50fca8f

Please sign in to comment.