mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
When a sufficiently long crs filter string is entered, auto expand all groups
Makes it much less annoying to find a crs by string!
This commit is contained in:
parent
ae92a28ae5
commit
55a5986687
@ -88,6 +88,8 @@ QgsProjectionSelectionTreeWidget::QgsProjectionSelectionTreeWidget( QWidget *par
|
||||
connect( leSearch, &QgsFilterLineEdit::textChanged, this, [=]( const QString &filter ) {
|
||||
mCrsModel->setFilterString( filter );
|
||||
mRecentCrsModel->setFilterString( filter );
|
||||
if ( filter.length() >= 3 )
|
||||
lstCoordinateSystems->expandAll();
|
||||
} );
|
||||
|
||||
mAreaCanvas->setVisible( mShowMap );
|
||||
|
Loading…
x
Reference in New Issue
Block a user