On Thu, Oct 05, 2006 at 07:04:44PM +0200, Abdelrazak Younes wrote:
> Modified: lyx-devel/trunk/src/lyxfunc.C
> URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/lyxfunc.C?rev=15256
> ==============================================================================
> --- lyx-devel/trunk/src/lyxfunc.C (original)
> +++ lyx-devel/trunk/src/lyxfunc.C Thu Oct  5 18:52:04 2006
> @@ -368,8 +368,13 @@
>               flag.unknown(true);
>               flag.enabled(false);
>               break;
> +
> +     case LFUN_TOOLTIPS_TOGGLE:
> +             flag.unknown(true);
> +             break;
> +
>       default:
> -             flag |= lyx_gui::getStatus(cmd);
> +             break;
>       }
> 
>       if (flag.unknown()) {
> 

In any case, this logic is completely bottom up...

Things that are not handled should not need to be marked 'unknown',
rather the things that are known should be marked 'known'.

I know that's not your doing, Abdel...

Andre'

Reply via email to