Skip to content
Permalink
Browse files

Rewording of warning message for WFS unstable pk

  • Loading branch information
elpaso committed Nov 22, 2017
1 parent 68ddf3b commit 5f6c1bac61eccb10d1dd4f064dcb232ff5d49116
Showing with 4 additions and 5 deletions.
  1. +4 −5 src/plugins/offline_editing/offline_editing_plugin_gui.cpp
@@ -39,7 +39,6 @@ QgsSelectLayerTreeModel::QgsSelectLayerTreeModel( QgsLayerTree *rootNode, QObjec

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

@@ -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" );

0 comments on commit 5f6c1ba

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