Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dtk
dtk
Commits
2283134d
Commit
2283134d
authored
May 27, 2016
by
NICLAUSSE Nicolas
Browse files
set current to NULL is stack is empty
parent
00c989e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dtkComposer/dtkComposerEvaluator.cpp
View file @
2283134d
...
...
@@ -524,7 +524,7 @@ bool dtkComposerEvaluator::rawstep(bool run_concurrent)
d
->
stack
.
append
(
*
it
++
);
}
// needed for step by step
d
->
current
=
d
->
stack
.
first
();
d
->
current
=
d
->
stack
.
isEmpty
()
?
NULL
:
d
->
stack
.
first
();
}
else
if
(
run_concurrent
)
{
// dtkTrace() << "add back current node to stack: "<< d->current->title();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment