Kaydet (Commit) a2920ac6 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Andras Timar

Resolves: tdf#86845 hyperlink details not retained between tabs

Change-Id: Ib6c1df4a97598c156b10b1730debb078e362e0d2
(cherry picked from commit eb38493c)
(cherry picked from commit e34e0c8d)
Reviewed-on: https://gerrit.libreoffice.org/20549Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
(cherry picked from commit b8256732)
üst fbff9f88
......@@ -333,8 +333,6 @@ void IconChoiceDialog::ShowPage(sal_uInt16 nId)
{
sal_uInt16 nOldPageId = GetCurPageId();
bool bInvalidate = nOldPageId != nId;
SetCurPageId(nId);
ActivatePageImpl();
if (bInvalidate)
{
IconChoicePageData* pOldData = GetPageData(nOldPageId);
......@@ -346,6 +344,8 @@ void IconChoiceDialog::ShowPage(sal_uInt16 nId)
Invalidate();
}
SetCurPageId(nId);
ActivatePageImpl();
IconChoicePageData* pNewData = GetPageData(nId);
if (pNewData && pNewData->pPage)
ShowPageImpl(pNewData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment