mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 12:55:44 +03:00
Folder Model: The item needs to be selectable for the currenIndex to appear selected
And we set the current index in AccountSettings::slotLinkActivated
This commit is contained in:
parent
89f2a9e6dc
commit
f1d48a9356
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ Qt::ItemFlags FolderStatusModel::flags ( const QModelIndex &index ) const
|
|||
case RootFolder:
|
||||
return Qt::ItemIsEnabled;
|
||||
case SubFolder:
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsUserCheckable;
|
||||
return Qt::ItemIsEnabled | Qt::ItemIsUserCheckable | Qt::ItemIsSelectable;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue