- cmd.view()->owner()->
- dispatch(FuncRequest(LFUN_REF_GOTO, getContents()));
- if (cmd.button() == mouse_button::button1)
- InsetCommandMailer("ref", *this).showDialog(cmd.view());
- return DISPATCHED;
-
+ cur.bv().owner()->dispatch(FuncRequest(LFUN_REF_GOTO, getContents()));
+ else
+ InsetCommandMailer("ref", *this).showDialog(&cur.bv());
+ return;
+
+ case LFUN_MOUSE_RELEASE:
+ return;
+