Skip to content

Commit

Permalink
Use HTML widget for editing
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Dec 29, 2022
1 parent 908c95f commit 60a8aad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/vector/qgsattributesformproperties.cpp
Expand Up @@ -1517,8 +1517,7 @@ void QgsAttributesDnDTree::onItemDoubleClicked( QTreeWidgetItem *item, int colum

QLineEdit *title = new QLineEdit( itemData.name() );

//htmlCode
QgsCodeEditorExpression *text = new QgsCodeEditorExpression( );
QgsCodeEditorHTML *text = new QgsCodeEditorHTML( );
text->setSizePolicy( QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding );
text->setText( itemData.textElementEditorConfiguration().text );

Expand Down

0 comments on commit 60a8aad

Please sign in to comment.