| commit | d92d98b35bb1846c82b401a53392a64118f51da2 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Mon May 20 21:36:34 2019 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Tue May 21 09:53:24 2019 +0200 |
| tree | 8bccedf43397737b983a3f79c395226a46ed345d | |
| parent | 6953aa7ce0e276c4961d7caac9ea2542d92f08bc [diff] |
tdf#125384 allow setting initial tabpage before dialog is running Change-Id: I79ad38e05e6b66089a0ed47d4054d416b8c61ff8 Reviewed-on: https://gerrit.libreoffice.org/72633 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 65d0e1e..32ab60c 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx
@@ -1535,9 +1535,8 @@ IMPL_LINK(SfxTabDialogController, DeactivatePageHdl, const OString&, rPage, bool } VclPtr<SfxTabPage> pPage = pDataObject->pTabPage; DBG_ASSERT( pPage, "no active Page" ); if (!pPage) return false; return true; DeactivateRC nRet = DeactivateRC::LeavePage;