Skip to content
Permalink
Browse files

Fix for #1779.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11083 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rugginoso
rugginoso committed Jul 15, 2009
1 parent bd6aa70 commit 44f7d4158e879a97e4713514d0f4615a72200b8b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/grass/qgsgrassmapcalc.cpp
@@ -834,7 +834,7 @@ void QgsGrassMapcalc::updateMaps()
QgsDebugMsg( "entered." );
QString current = mMapComboBox->currentText();
mMapComboBox->clear();
mMaps.resize( 0 );
mMaps.clear();

QgsMapCanvas *canvas = mIface->mapCanvas();

@@ -882,7 +882,7 @@ void QgsGrassMapcalc::updateMaps()
//if ( mUpdate && mapset != QgsGrass::getDefaultMapset() ) continue;

mMapComboBox->addItem( layer->name() );
if ( layer->name() == current ) mMapComboBox->setItemText( mMapComboBox->currentIndex(), current );
//if ( layer->name() == current ) mMapComboBox->setItemText( mMapComboBox->currentIndex(), current );
mMaps.push_back( map + "@" + mapset );
}
}

0 comments on commit 44f7d41

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