Skip to content

Commit

Permalink
When a sufficiently long crs filter string is entered, auto expand al…
Browse files Browse the repository at this point in the history
…l groups

Makes it much less annoying to find a crs by string!
  • Loading branch information
nyalldawson committed Dec 11, 2024
1 parent afc3c33 commit ec25c6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/proj/qgsprojectionselectiontreewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit ec25c6a

Please sign in to comment.