Skip to content

Commit

Permalink
fix layout of layer selection in grass toolbox
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10335 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 20, 2009
1 parent 5b3f0ec commit e29e80b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/plugins/grass/qgsgrassmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2628,7 +2628,11 @@ QgsGrassModuleGdalInput::QgsGrassModuleGdalInput(
}
}

mLayerComboBox = new QComboBox( this );
QHBoxLayout *l = new QHBoxLayout( this );
mLayerComboBox = new QComboBox();
mLayerComboBox->setSizePolicy( QSizePolicy::Expanding,
QSizePolicy:: Preferred );
l->addWidget( mLayerComboBox );

// Of course, activated(int) is not enough, but there is no signal
// BEFORE the cobo is opened
Expand Down

0 comments on commit e29e80b

Please sign in to comment.