mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
Fix bug #12795
This commit is contained in:
parent
371c20ac11
commit
8124e6c02e
@ -17,6 +17,7 @@
|
|||||||
#include "FuncRequest.h"
|
#include "FuncRequest.h"
|
||||||
#include "FuncStatus.h"
|
#include "FuncStatus.h"
|
||||||
#include "LaTeXFeatures.h"
|
#include "LaTeXFeatures.h"
|
||||||
|
#include "LyX.h"
|
||||||
#include "output_docbook.h"
|
#include "output_docbook.h"
|
||||||
#include "output_xhtml.h"
|
#include "output_xhtml.h"
|
||||||
#include "xml.h"
|
#include "xml.h"
|
||||||
@ -91,6 +92,12 @@ docstring InsetHyperlink::screenLabel() const
|
|||||||
|
|
||||||
void InsetHyperlink::doDispatch(Cursor & cur, FuncRequest & cmd)
|
void InsetHyperlink::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||||
{
|
{
|
||||||
|
// Ctrl + click: open hyperlink
|
||||||
|
if (cmd.action() == LFUN_MOUSE_RELEASE && cmd.modifier() == ControlModifier) {
|
||||||
|
lyx::dispatch(FuncRequest(LFUN_INSET_EDIT));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (cmd.action()) {
|
switch (cmd.action()) {
|
||||||
|
|
||||||
case LFUN_INSET_EDIT:
|
case LFUN_INSET_EDIT:
|
||||||
|
Loading…
Reference in New Issue
Block a user