Skip to content
Permalink
Browse files
Don't disable JsonEditWidget by readonly layer (widget is alway reado…
…nly)
  • Loading branch information
domi4484 authored and github-actions committed Jul 14, 2021
1 parent c0a6055 commit a983e69739f2d7db25167430c70aab0b3c533ae5
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 a983e69

Please sign in to comment.