Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #5934 from elpaso/bookmarks-tiny-fixes
[bookmarks] Case insensitive sorting
  • Loading branch information
elpaso committed Dec 21, 2017
2 parents 5daf33a + 15ffcb4 commit 9fe8729
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 9fe8729

Please sign in to comment.