Skip to content
Permalink
Browse files

Always emits the expression from the search widget when it changes

  • Loading branch information
m-kuhn committed Sep 16, 2015
1 parent 015622e commit 4897cdf5edcffbbe3122f4aec1b06c4fce87fb04
@@ -69,8 +69,11 @@ class GUI_EXPORT QgsSearchWidgetWrapper : public QgsWidgetWrapper

signals:

/**
* Emitted whenever the expression changes
* @param exp The new search expression
*/
void expressionChanged( QString exp );
void expressionChanged();

protected slots:

@@ -109,5 +109,5 @@ bool QgsDefaultSearchWidgetWrapper::valid()

void QgsDefaultSearchWidgetWrapper::filterChanged()
{
emit expressionChanged();
emit expressionChanged( mExpression );
}

0 comments on commit 4897cdf

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