From 4640e093c3f4bd4aacf2fb5753520d0f58018674 Mon Sep 17 00:00:00 2001 From: Zevenberge Date: Sat, 5 May 2018 11:55:16 +0200 Subject: [PATCH] Selects the new folder on creation. Also opens parent folder if not open --- src/dlangide/ui/frame.d | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dlangide/ui/frame.d b/src/dlangide/ui/frame.d index 76b52e7..71510b4 100644 --- a/src/dlangide/ui/frame.d +++ b/src/dlangide/ui/frame.d @@ -1533,8 +1533,9 @@ class IDEFrame : AppFrame, ProgramExecutionStatusListener, BreakpointListChangeL tryOpenSourceFile(newFolder.child(0).filename); } } - updateTreeGraph(); - } + updateTreeGraph(); + _wsPanel.selectItem(newFolder); + } } }; return dialog;