diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-17 12:15:36 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-17 13:42:28 +0200 |
commit | 1120312c83c2350f9428de3f11072adae56f9e3f (patch) | |
tree | a99a33fa0c3a3ac9a9827b8388e14f862324468a /sw | |
parent | 4376c524a3cb7016285f869b96b4657f4be006bd (diff) |
Hyperlink dialog: Don't close if it's already open
Steps to reproduce:
1) Writer. Insert -> Hyperlink. Leave the dialog open.
2) Click into the writer document and type a link "http://google.de/", this
will get converted to a hyperlink.
3) Now right-click on the hyperlink and choose "Edit Hyperlink" from the
context menu. The Hyperlink dialog will close.
The Hyperlink dialog should stay open and not close, if you want to
edit the hyperlink.
This commit fixes this.
Change-Id: I125c12733790632008cad1a9fc2d13bf16487381
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/shells/textsh1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index eb351c9d7903..9ef3ae418be8 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -808,7 +808,7 @@ void SwTextShell::Execute(SfxRequest &rReq) } break; case FN_EDIT_HYPERLINK: - GetView().GetViewFrame()->ToggleChildWindow(SID_HYPERLINK_DIALOG); + GetView().GetViewFrame()->SetChildWindow(SID_HYPERLINK_DIALOG, true); break; case FN_REMOVE_HYPERLINK: { |