Skip to content
Permalink
Browse files

[GRASS] vector min/max and qtermwidget fixes

  • Loading branch information
blazek committed Sep 17, 2015
1 parent 29fc46a commit 77b3793640d48183ce21a8a6c07b25ff18f25d3f
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/plugins/grass/qtermwidget/History.cpp
  2. +2 −2 src/providers/grass/qgsgrassprovider.cpp
@@ -634,7 +634,7 @@ CompactHistoryLine::CompactHistoryLine ( const TextLine& line, CompactHistoryBlo
Q_ASSERT (text!=NULL);

length=line.size();
formatLength=formatLength;
//formatLength=formatLength;
wrapped=false;

// record formats and their positions in the format array
@@ -394,7 +394,7 @@ QVariant QgsGrassProvider::minimumValue( int index )
{
if ( isValid() )
{
mLayer->minMax().value( index ).first;
return mLayer->minMax().value( index ).first;
}
return QVariant();
}
@@ -404,7 +404,7 @@ QVariant QgsGrassProvider::maxValue( int index )
{
if ( isValid() )
{
mLayer->minMax().value( index ).second;
return mLayer->minMax().value( index ).second;
}
return QVariant();
}

0 comments on commit 77b3793

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