mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 22:15:57 +03:00
Add Folder wizard: Sort the folders when selecting the remote folder
Issue #1872
This commit is contained in:
parent
76f5266fa1
commit
100d1361b6
1 changed files with 3 additions and 0 deletions
|
@ -232,6 +232,9 @@ FolderWizardRemotePath::FolderWizardRemotePath()
|
|||
_ui.setupUi(this);
|
||||
_ui.warnFrame->hide();
|
||||
|
||||
_ui.folderTreeWidget->setSortingEnabled(true);
|
||||
_ui.folderTreeWidget->sortByColumn(0, Qt::AscendingOrder);
|
||||
|
||||
connect(_ui.addFolderButton, SIGNAL(clicked()), SLOT(slotAddRemoteFolder()));
|
||||
connect(_ui.refreshButton, SIGNAL(clicked()), SLOT(slotRefreshFolders()));
|
||||
connect(_ui.folderTreeWidget, SIGNAL(itemClicked(QTreeWidgetItem*,int)), SIGNAL(completeChanged()));
|
||||
|
|
Loading…
Reference in a new issue