Skip to content
Permalink
Browse files

Add precision to message

  • Loading branch information
DelazJ authored and nyalldawson committed Dec 29, 2017
1 parent abe89b6 commit 3b3d901bdbdffa3dc927a5abadcefad26b328431
@@ -230,6 +230,6 @@ void QgsPointClusterRendererWidget::updateRendererFromWidget()
void QgsPointClusterRendererWidget::setupBlankUi( const QString &layerName )
{
QGridLayout *layout = new QGridLayout( this );
QLabel *label = new QLabel( tr( "The point cluster renderer only applies to (single) point layers. \n'%1' is not a point layer and cannot be displayed by the point cluster renderer" ).arg( layerName ), this );
QLabel *label = new QLabel( tr( "The point cluster renderer only applies to (single) point layers. \n'%1' is not a (single) point layer and cannot be displayed by the point cluster renderer." ).arg( layerName ), this );
layout->addWidget( label );
}
@@ -412,7 +412,7 @@ void QgsPointDisplacementRendererWidget::updateRendererFromWidget()

void QgsPointDisplacementRendererWidget::setupBlankUi( const QString &layerName )
{
QLabel *label = new QLabel( tr( "The point displacement renderer only applies to (single) point layers. \n'%1' is not a point layer and cannot be displayed by the point displacement renderer" ).arg( layerName ), this );
QLabel *label = new QLabel( tr( "The point displacement renderer only applies to (single) point layers. \n'%1' is not a (single) point layer and cannot be displayed by the point displacement renderer." ).arg( layerName ), this );
QVBoxLayout *layout = new QVBoxLayout( this );
layout->setContentsMargins( 0, 0, 0, 0 );
layout->addWidget( label );

0 comments on commit 3b3d901

Please sign in to comment.
You can’t perform that action at this time.