mirror of
https://github.com/buggins/dlangide.git
synced 2025-04-25 20:49:56 +03:00
The newly added folder is now placed appropiately
This commit is contained in:
parent
4f69a40530
commit
92990e5352
1 changed files with 1 additions and 0 deletions
|
@ -1527,6 +1527,7 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL
|
|||
ProjectFolder newFolder = new ProjectFolder(res.filename);
|
||||
if(folder) {
|
||||
folder.addChild(newFolder);
|
||||
folder.sortItems;
|
||||
newFolder.refresh();
|
||||
if(newFolder.childCount > 0){
|
||||
tryOpenSourceFile(newFolder.child(0).filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue