lok: masterpage: don't switch page on mode change
commit2dd51938908b9856bd1ad4b252cd60805262baa5
authorSzymon Kłos <szymon.klos@collabora.com>
Tue, 15 Nov 2022 15:49:15 +0000 (15 16:49 +0100)
committerSzymon Kłos <szymon.klos@collabora.com>
Sat, 19 Nov 2022 15:44:21 +0000 (19 16:44 +0100)
treedc6168f397c65a83777237f7a81306fd0b7babd4
parentfc656a56b283ec0eb308faf78fa171fd69b1e807
lok: masterpage: don't switch page on mode change

Go back to the last used page when closing MasterPage.
There was a bug when one user was in MasterPage mode and
other switched page - then on close we opened other user
page.

Change-Id: I02f3b36429a62b855b215803d6684b3382228326
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142740
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ash@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142967
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
sd/source/ui/view/drviews1.cxx