cui/source/tabpages/tabarea.cxx | 2 -- cui/source/tabpages/tabline.cxx | 2 -- 2 files changed, 4 deletions(-)
New commits: commit b426b026b79a342c41f6f148bf17d5df66b22927 Author: ekuiitr <jhaekans...@gmail.com> Date: Sun Dec 24 22:51:43 2017 +0800 tdf#111723 Fixed - Dialog does not remember the last opened tab page Change-Id: Ife6d0eb9ea13d2a0534f316db001dbb3b6a716eb Reviewed-on: https://gerrit.libreoffice.org/47050 Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com> Tested-by: Tamás Zolnai <tamas.zol...@collabora.com> diff --git a/cui/source/tabpages/tabarea.cxx b/cui/source/tabpages/tabarea.cxx index f1dbfc6417bb..97135d944270 100644 --- a/cui/source/tabpages/tabarea.cxx +++ b/cui/source/tabpages/tabarea.cxx @@ -80,8 +80,6 @@ SvxAreaTabDialog::SvxAreaTabDialog m_nTransparenceTabPage = AddTabPage( "RID_SVXPAGE_TRANSPARENCE", SvxTransparenceTabPage::Create, nullptr); - SetCurPageId( "RID_SVXPAGE_AREA" ); - CancelButton& rBtnCancel = GetCancelButton(); rBtnCancel.SetClickHdl( LINK( this, SvxAreaTabDialog, CancelHdlImpl ) ); } diff --git a/cui/source/tabpages/tabline.cxx b/cui/source/tabpages/tabline.cxx index 21d64d055743..df0938f6b79a 100644 --- a/cui/source/tabpages/tabline.cxx +++ b/cui/source/tabpages/tabline.cxx @@ -93,8 +93,6 @@ SvxLineTabDialog::SvxLineTabDialog m_nStyleTabPage = AddTabPage( "RID_SVXPAGE_LINE_DEF", SvxLineDefTabPage::Create, nullptr); m_nEndTabPage = AddTabPage( "RID_SVXPAGE_LINEEND_DEF", SvxLineEndDefTabPage::Create, nullptr); - SetCurPageId( "RID_SVXPAGE_LINE" ); - CancelButton& rBtnCancel = GetCancelButton(); rBtnCancel.SetClickHdl( LINK( this, SvxLineTabDialog, CancelHdlImpl ) ); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits