>>>>> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:

Juergen> Juergen Spitzmueller wrote:
>> > I'm not even sure I understand what LABEL_GOTO does (or is it
>> broken?)
>> 
>> OK, now I do. This is really odd.

Juergen> I think this menu entry is extremely irritating. How about
Juergen> the following patch, that does enable the entry only when it
Juergen> actually makes sense?

Yes, definitely good, although I would write:

+       case LFUN_LABEL_GOTO: {
+               flag.enabled(!cmd.argument.empty()
+                   ||getInsetByCode<InsetRef>(cursor_, InsetBase::REF_CODE)); 
+               break;

JMarc

Reply via email to