diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-10 15:51:51 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-15 09:54:47 +0200 |
commit | 01e160686140299002df52e76dc8e3411c6e01c2 (patch) | |
tree | 907ae72ed50c45791328e5b31ef9b1a8b50925da /external | |
parent | ea8ba40c06fe2d0702c6dba22d1d4bed4af306b5 (diff) |
sfx2: make SfxLokHelper::setView() set also the active frame
Without this, comphelper::dispatchCommand() doesn't work on the current
frame. This causes e.g. undo not working when only a given view is
allowed to do undo.
In the desktop case vcl::Window::ImplGrabFocus() calls both
SfxViewFrame::MakeActive_Impl() and
framework::Desktop::setActiveFrame(), but in the LOK case the first was
called directly, that's how the active frame was outdated.
Change-Id: If97a9de316b4c8dd49e55cd273bdb2dfe9866f38
Reviewed-on: https://gerrit.libreoffice.org/28032
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit d6e8d4f773d970b69baedd8523a426f18a8d8eef)
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions