diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2014-09-27 07:59:04 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-09-30 10:00:23 -0400 |
commit | 8cdb25a38530319e0b08d97d2706ff019797fe08 (patch) | |
tree | 6edbd44a6373cb90a93d76d56557a18a8d87e6c9 /sc/source/ui/view | |
parent | 599e5096ba7bde1c88120376b12f3f691847f17d (diff) |
fdo#53920 Switch back tab at RefButton closure time
Bug occurs because visible tab is not the initial tab. So, instead of
switching back to initial tab at dialog closure time (removed from
cellsh2.cxx), this commit proposes that switching back to initial tab
is operate when expanding the RefButton shrink dialog.
Reviewed-on: https://gerrit.libreoffice.org/11660
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
(cherry picked from commit 31432c4469e7e0d05516143533d6b5e0b411dda3)
Change-Id: I3cf7ed14054fa69881d4ecbc55c48dfbfc4356aa
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index a93761c10d06..2e95cf1797d4 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -852,8 +852,6 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) OSL_ENSURE(pDlg, "Dialog create fail!"); short nResult = pDlg->Execute(); - //When picking Cell Range, other Tab may be switched. Need restore the correct tab - pTabViewShell->SetTabNo( nTab ); if ( nResult == RET_OK ) { const SfxItemSet* pOutSet = pDlg->GetOutputItemSet(); |