Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 0279464

Browse files
committed
Merge pull request #3123 from livecodepanos/bugfix-16283
[Bug 16283] PB is not refreshed to show newly created script only stacks
2 parents d8f2395 + 2a72ca5 commit 0279464

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/notes/bugfix-16283.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# create script only stack doesn't automatically update Project Browser

engine/src/cmdsc.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,8 @@ Exec_stat MCCreate::exec(MCExecPoint &ep)
916916
t_new_stack -> setparent(MCdispatcher -> gethome());
917917
t_new_stack -> message(MCM_new_stack);
918918
t_new_stack -> setflag(False, F_VISIBLE);
919+
// PM-2015-10-26: [[ Bug 16283 ]] Automatically update project browser to show newly created script only stacks
920+
t_new_stack -> open();
919921
ep . clear();
920922
t_new_stack -> setasscriptonly(ep);
921923
optr = t_new_stack;

0 commit comments

Comments
 (0)