Skip to content
Permalink
Browse files
Renamed JSON Edit widget to JSON View
In the current implementation the widget is read only so the name Edit
was improper. The internal ID is kept so if editing capabilities are
added in the future there is no need to change it.
  • Loading branch information
domi4484 committed Jun 8, 2021
1 parent 17d1443 commit 14f3f6fb546296bb6a901e111377997018c4e39c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/editorwidgets/core/qgseditorwidgetregistry.cpp
@@ -67,7 +67,7 @@ void QgsEditorWidgetRegistry::initEditors( QgsMapCanvas *mapCanvas, QgsMessageBa
registerWidget( QStringLiteral( "KeyValue" ), new QgsKeyValueWidgetFactory( tr( "Key/Value" ) ) );
registerWidget( QStringLiteral( "List" ), new QgsListWidgetFactory( tr( "List" ) ) );
registerWidget( QStringLiteral( "Binary" ), new QgsBinaryWidgetFactory( tr( "Binary (BLOB)" ), messageBar ) );
registerWidget( QStringLiteral( "JsonEdit" ), new QgsJsonEditWidgetFactory( tr( "Json Edit" ) ) );
registerWidget( QStringLiteral( "JsonEdit" ), new QgsJsonEditWidgetFactory( tr( "Json View" ) ) );
}

QgsEditorWidgetRegistry::~QgsEditorWidgetRegistry()

0 comments on commit 14f3f6f

Please sign in to comment.