mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 16:30:10 +02:00
Update MyLocations sort order
This commit is contained in:
parent
a566f90820
commit
bfde24fe12
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ UserLocationsWindow::UserLocationsWindow(QWidget* parent) :
|
|||
|
||||
_ui.locationsTreeView->setModel(&_proxyModel);
|
||||
_ui.locationsTreeView->setSortingEnabled(true);
|
||||
_ui.locationsTreeView->sortByColumn(UserLocationsModel::NameColumn, Qt::AscendingOrder);
|
||||
|
||||
connect(_ui.locationsTreeView->selectionModel(), &QItemSelectionModel::selectionChanged,
|
||||
this, &UserLocationsWindow::updateEnabled);
|
||||
|
|
Loading…
Reference in a new issue