Skip to content
Permalink
Browse files

Only show details for current error

  • Loading branch information
m-kuhn committed Oct 3, 2018
1 parent 8085200 commit 00fa3dbb4a6bd11750b299b116efdac1c5962018
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsgeometryvalidationdock.cpp
@@ -185,6 +185,9 @@ void QgsGeometryValidationDock::onCurrentErrorChanged( const QModelIndex &curren
QgsGeometryCheckError *error = current.data( QgsGeometryValidationModel::GeometryCheckErrorRole ).value<QgsGeometryCheckError *>();
if ( error )
{
while ( QWidget *w = mResolutionWidget->findChild<QWidget *>() )
delete w;

delete mResolutionWidget->layout();
const QStringList resolutionMethods = error->check()->resolutionMethods();
QGridLayout *layout = new QGridLayout( mResolutionWidget );

0 comments on commit 00fa3db

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