Re: [LyX/master] Simplify previous commit

2015-04-08 Thread Jürgen Spitzmüller
Scott Kostyshak wrote: > + case LFUN_BUFFER_PREVIOUS: > // because we cycle, it doesn't matter whether on first or > last if (d.currentTabWorkArea()->count() <= 1) > enable = false; I would do enable = (d.currentTabWorkArea()->count() > 1); t

Re: [LyX/master] Simplify previous commit

2015-04-08 Thread Scott Kostyshak
On Wed, Apr 8, 2015 at 6:09 AM, Jürgen Spitzmüller wrote: > Scott Kostyshak wrote: >> + case LFUN_BUFFER_PREVIOUS: >> // because we cycle, it doesn't matter whether on first or >> last if (d.currentTabWorkArea()->count() <= 1) >> enable = false; > > I