Skip to content
Permalink
Browse files

Merge pull request #2374 from slarosa/editor_widget_take_2

Attribute table filter: follow up #2316 and 5ac5217

Fix #13486 Don't hide search widget in attribute table when typing
Properly connect the signals for the search case checkbox on the attribute table filter
  • Loading branch information
m-kuhn committed Oct 18, 2015
2 parents cc9c789 + c7e732b commit 63cea76313656288868a012c72d69ad1b7e62ce0
@@ -36,7 +36,7 @@ QString QgsDefaultSearchWidgetWrapper::expression()
return mExpression;
}

void QgsDefaultSearchWidgetWrapper::setCaseString( Qt::CheckState caseSensitiveCheckState )
void QgsDefaultSearchWidgetWrapper::setCaseString( int caseSensitiveCheckState )
{
if ( caseSensitiveCheckState == Qt::Checked )
{
@@ -74,7 +74,6 @@ void QgsDefaultSearchWidgetWrapper::setExpression( QString exp )
"%" + exp.replace( "'", "''" ) + "%" ); // escape quotes
}
mExpression = str;
emit expressionChanged( mExpression );
}

QWidget* QgsDefaultSearchWidgetWrapper::createWidget( QWidget* parent )
@@ -41,7 +41,7 @@ class GUI_EXPORT QgsDefaultSearchWidgetWrapper : public QgsSearchWidgetWrapper
void setExpression( QString exp ) override;

private slots:
void setCaseString( Qt::CheckState );
void setCaseString( int caseSensitiveCheckState );
void filterChanged();

protected:

0 comments on commit 63cea76

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