new folders are selected automatically after creation

fixed a couple of bugs in TreeModel::addFolderAtParent
This commit is contained in:
Luis Ángel San Martín
2014-10-22 21:16:43 +02:00
parent a5705861bc
commit e9a487db5e
3 changed files with 12 additions and 5 deletions

View File

@ -89,7 +89,7 @@ public:
void fetchMoreFromDB(const QModelIndex & parent);
void addFolderAtParent(const QString & folderName, const QModelIndex & parent);
QModelIndex addFolderAtParent(const QString & folderName, const QModelIndex & parent);
enum Columns {
Name = 0,