Skip to content
Permalink
Browse files
Show form in search mode (even if there are no rows)
  • Loading branch information
elpaso authored and nyalldawson committed Jun 9, 2021
1 parent dac568f commit c13bbc3dee6a0efd22a8c39833955e67a00c737d
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/attributetable/qgsdualview.cpp
@@ -711,11 +711,14 @@ void QgsDualView::toggleSearchMode( bool enabled )
{
setView( AttributeEditor );
mAttributeForm->setMode( QgsAttributeEditorContext::SearchMode );
mAttributeForm->setVisible( true );
}
else
{
mAttributeForm->setMode( QgsAttributeEditorContext::SingleEditMode );
mAttributeForm->setVisible( mFilterModel->rowCount( ) > 0 );
}

}

void QgsDualView::previewExpressionBuilder()

0 comments on commit c13bbc3

Please sign in to comment.