mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Fix missing break in switch
Fixes coverity issue 23350.
This commit is contained in:
parent
9448e89879
commit
fac7cb922a
@ -1112,13 +1112,13 @@ bool BufferView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
|
|||||||
iss >> opt;
|
iss >> opt;
|
||||||
flag.setEnabled(opt.repl_buf_name.empty()
|
flag.setEnabled(opt.repl_buf_name.empty()
|
||||||
|| !buffer_.isReadonly());
|
|| !buffer_.isReadonly());
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case LFUN_LABEL_GOTO: {
|
case LFUN_LABEL_GOTO:
|
||||||
flag.setEnabled(!cmd.argument().empty()
|
flag.setEnabled(!cmd.argument().empty()
|
||||||
|| getInsetByCode<InsetRef>(cur, REF_CODE));
|
|| getInsetByCode<InsetRef>(cur, REF_CODE));
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
|
|
||||||
case LFUN_CHANGES_TRACK:
|
case LFUN_CHANGES_TRACK:
|
||||||
flag.setEnabled(true);
|
flag.setEnabled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user