mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00
locate to the new directory after creation
Signed-off-by: Le Tan <tamlokveer@gmail.com>
This commit is contained in:
parent
fb1a172acf
commit
bc9ed31db6
@ -315,6 +315,7 @@ void VDirectoryTree::newSubDirectory()
|
||||
return;
|
||||
}
|
||||
updateItemChildren(curItem);
|
||||
locateDirectory(subDir);
|
||||
}
|
||||
break;
|
||||
} while (true);
|
||||
@ -346,6 +347,7 @@ void VDirectoryTree::newRootDirectory()
|
||||
return;
|
||||
}
|
||||
updateItemChildren(NULL);
|
||||
locateDirectory(subDir);
|
||||
}
|
||||
break;
|
||||
} while (true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user