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.

Jürgen


Reply via email to