Re: [LyX/master] Simplify previous commit
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
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