mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Amend aaaae562db
This commit is contained in:
parent
5d90968f7a
commit
b5f83881ab
@ -1672,7 +1672,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
while (cur.pit() + offset <= cur.lastpit()) {
|
||||
Paragraph cpar = pars_[cur.pit() + offset];
|
||||
depth_type nextpar_depth = cpar.params().depth();
|
||||
if (cur_depth <= nextpar_depth) {
|
||||
if (cur_depth <= nextpar_depth && nextpar_depth > 0) {
|
||||
nextpars_depth.push_back(nextpar_depth);
|
||||
cur_depth = nextpar_depth;
|
||||
++offset;
|
||||
|
Loading…
Reference in New Issue
Block a user