mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-02 00:02:12 -05:00
Replace PS character. Fixes #37803
This commit is contained in:
parent
5fc05e2d11
commit
1bd78908ee
@ -110,6 +110,8 @@ void QgsDecorationTitleDialog::mInsertExpressionButton_clicked()
|
||||
if ( selText.startsWith( QLatin1String( "[%" ) ) && selText.endsWith( QLatin1String( "%]" ) ) )
|
||||
selText = selText.mid( 2, selText.size() - 4 );
|
||||
|
||||
selText = selText.replace( QChar( 0x2029 ), QChar( '\n' ) );
|
||||
|
||||
QgsExpressionBuilderDialog exprDlg( nullptr, selText, this, QStringLiteral( "generic" ), QgisApp::instance()->mapCanvas()->mapSettings().expressionContext() );
|
||||
|
||||
exprDlg.setWindowTitle( QObject::tr( "Insert Expression" ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user