mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 06:49:43 +00:00
Simplify previous commit
The brackets are not necessary.
This commit is contained in:
parent
e26ac5c550
commit
dabb534a36
@ -1922,12 +1922,12 @@ bool GuiView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_BUFFER_NEXT:
|
case LFUN_BUFFER_NEXT:
|
||||||
case LFUN_BUFFER_PREVIOUS: {
|
case LFUN_BUFFER_NEXT:
|
||||||
|
case LFUN_BUFFER_PREVIOUS:
|
||||||
// because we cycle, it doesn't matter whether on first or last
|
// because we cycle, it doesn't matter whether on first or last
|
||||||
if (d.currentTabWorkArea()->count() <= 1)
|
if (d.currentTabWorkArea()->count() <= 1)
|
||||||
enable = false;
|
enable = false;
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
case LFUN_BUFFER_SWITCH:
|
case LFUN_BUFFER_SWITCH:
|
||||||
// toggle on the current buffer, but do not toggle off
|
// toggle on the current buffer, but do not toggle off
|
||||||
// the other ones (is that a good idea?)
|
// the other ones (is that a good idea?)
|
||||||
|
Loading…
Reference in New Issue
Block a user