On Wed, Apr 8, 2015 at 6:09 AM, Jürgen Spitzmüller <sp...@lyx.org> 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 would do
>
>         enable = (d.currentTabWorkArea()->count() > 1);
>
> to explicitly set the bool in both conditions.

Good idea. Thank you. This is in at a64a2d0a.

Scott

Reply via email to