Skip to content

Commit

Permalink
Rewording of warning message for WFS unstable pk
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Nov 22, 2017
1 parent 68ddf3b commit 5f6c1ba
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/plugins/offline_editing/offline_editing_plugin_gui.cpp
Expand Up @@ -39,7 +39,6 @@ QgsSelectLayerTreeModel::QgsSelectLayerTreeModel( QgsLayerTree *rootNode, QObjec

int QgsSelectLayerTreeModel::columnCount( const QModelIndex &parent ) const
{
Q_UNUSED( parent );
return QgsLayerTreeModel::columnCount( parent ) + 1;
}

Expand Down Expand Up @@ -79,10 +78,10 @@ QVariant QgsSelectLayerTreeModel::data( const QModelIndex &index, int role ) con
case Qt::ToolTipRole:
return tr( "The source of this layer is a <b>WFS</b> server.<br>"
"Some WFS layers are not suitable for offline<br>"
"editing due to unreliable/missing primary<br>"
"keys, please check with your system<br>"
"administrator if this WFS layer can<br>"
"be used for offline editing." );
"editing due to unstable primary keys<br>"
"please check with your system administrator<br>"
"if this WFS layer can be used for offline<br>"
"editing." );
break;
case Qt::DecorationRole:
return QgsApplication::getThemeIcon( "/mIconWarning.svg" );
Expand Down

0 comments on commit 5f6c1ba

Please sign in to comment.