Skip to content

Commit

Permalink
[bookmarks] Case insensitive sorting
Browse files Browse the repository at this point in the history
Fixes #17005
  • Loading branch information
elpaso committed Dec 21, 2017
1 parent 5daf33a commit 15ffcb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/qgsbookmarks.cpp
Expand Up @@ -109,6 +109,7 @@ QgsBookmarks::QgsBookmarks( QWidget *parent )

mProxyModel = new QgsBookmarksProxyModel( this );
mProxyModel->setSourceModel( mMergedModel );
mProxyModel->setSortCaseSensitivity( Qt::CaseInsensitive );

lstBookmarks->setModel( mProxyModel );
lstBookmarks->setItemDelegate( new QgsDoubleSpinBoxBookmarksDelegate( this ) );
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsbookmarksbase.ui
Expand Up @@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Sp&amp;atial Bookmarks Panel</string>
<string>Spatial Bookmarks Panel</string>
</property>
<widget class="QWidget" name="bookmarksDockContents">
<layout class="QGridLayout" name="gridLayout">
Expand Down

0 comments on commit 15ffcb4

Please sign in to comment.