diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-20 21:36:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-21 09:53:24 +0200 |
commit | d92d98b35bb1846c82b401a53392a64118f51da2 (patch) | |
tree | 8bccedf43397737b983a3f79c395226a46ed345d /sfx2 | |
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>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 65d0e1e54d62..32ab60c49776 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; |