mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +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;
|
return;
|
||||||
}
|
}
|
||||||
updateItemChildren(curItem);
|
updateItemChildren(curItem);
|
||||||
|
locateDirectory(subDir);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
} while (true);
|
} while (true);
|
||||||
@ -346,6 +347,7 @@ void VDirectoryTree::newRootDirectory()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
updateItemChildren(NULL);
|
updateItemChildren(NULL);
|
||||||
|
locateDirectory(subDir);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
} while (true);
|
} while (true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user