Hide aggregate button in non-aggregate context

This commit is contained in:
Matthias Kuhn 2017-12-04 11:09:55 +01:00
parent e4dabe57df
commit 5d8783f96e

View File

@ -253,7 +253,7 @@ void QgsAttributeFormEditorWidget::updateWidgets()
case SearchMode:
{
mAggregateButton->setVisible( true );
mAggregateButton->setVisible( false );
stack()->setCurrentWidget( searchPage() );
break;
}