Skip to content
Permalink
Browse files

Try to show fixed icons

  • Loading branch information
m-kuhn committed Oct 15, 2018
1 parent b0d8d8e commit 380d02e65f0bde7fd8f6c1adb7fac5b5bfc4e22d
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/app/qgsgeometryvalidationmodel.cpp
@@ -52,8 +52,15 @@ QVariant QgsGeometryValidationModel::data( const QModelIndex &index, int role )

switch ( role )
{
case Qt::DecorationRole:
if ( topologyError->status() == QgsGeometryCheckError::StatusFixed )
return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmCheckGeometry.svg" ) );
else
return QgsApplication::getThemeIcon( QStringLiteral( "/algorithms/mAlgorithmLineIntersection.svg" ) );

case Qt::DisplayRole:
FALLTHROUGH;

case DetailsRole:
{
const QgsFeatureId fid = topologyError->featureId();

0 comments on commit 380d02e

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