summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-12 16:05:44 +0000
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2015-11-12 22:01:27 +0000
commit5a1d267a1ed7557db3fe4c73bc0749c885f0ebef (patch)
tree0f76a14256b513a49e05dbc34f9507a2b13c8ff9
parent33df62efe3c94b87b765f8334c8b614eb896338b (diff)
Resolves: tdf#93317 Modified Document Dialog misses focus on Gtk3
Change-Id: I16ddac82a76a1e665797e4be192d3642f2660d9f (cherry picked from commit 82abd23f3ee1900b7579e5a0afa23581d5836f01) Reviewed-on: https://gerrit.libreoffice.org/19933 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--vcl/source/window/dialog.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 72652ae48577..4ce15de79aab 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -816,6 +816,7 @@ bool Dialog::ImplStartExecuteModal()
ImplAdjustNWFSizes();
Show();
+ ToTop();
pSVData->maAppData.mnModalMode++;
return true;