From 5d8783f96ef0f8be9966cf5769380934453d4019 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Mon, 4 Dec 2017 11:09:55 +0100 Subject: [PATCH] Hide aggregate button in non-aggregate context --- src/gui/qgsattributeformeditorwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qgsattributeformeditorwidget.cpp b/src/gui/qgsattributeformeditorwidget.cpp index 09dc666a54e..70c3c742b25 100644 --- a/src/gui/qgsattributeformeditorwidget.cpp +++ b/src/gui/qgsattributeformeditorwidget.cpp @@ -253,7 +253,7 @@ void QgsAttributeFormEditorWidget::updateWidgets() case SearchMode: { - mAggregateButton->setVisible( true ); + mAggregateButton->setVisible( false ); stack()->setCurrentWidget( searchPage() ); break; }