Kaydet (Commit) e34e0c8d authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#86845 hyperlink details not retained between tabs

Change-Id: Ib6c1df4a97598c156b10b1730debb078e362e0d2
(cherry picked from commit eb38493c)
üst 28b5fb6a
...@@ -333,8 +333,6 @@ void IconChoiceDialog::ShowPage(sal_uInt16 nId) ...@@ -333,8 +333,6 @@ void IconChoiceDialog::ShowPage(sal_uInt16 nId)
{ {
sal_uInt16 nOldPageId = GetCurPageId(); sal_uInt16 nOldPageId = GetCurPageId();
bool bInvalidate = nOldPageId != nId; bool bInvalidate = nOldPageId != nId;
SetCurPageId(nId);
ActivatePageImpl();
if (bInvalidate) if (bInvalidate)
{ {
IconChoicePageData* pOldData = GetPageData(nOldPageId); IconChoicePageData* pOldData = GetPageData(nOldPageId);
...@@ -346,6 +344,8 @@ void IconChoiceDialog::ShowPage(sal_uInt16 nId) ...@@ -346,6 +344,8 @@ void IconChoiceDialog::ShowPage(sal_uInt16 nId)
Invalidate(); Invalidate();
} }
SetCurPageId(nId);
ActivatePageImpl();
IconChoicePageData* pNewData = GetPageData(nId); IconChoicePageData* pNewData = GetPageData(nId);
if (pNewData && pNewData->pPage) if (pNewData && pNewData->pPage)
ShowPageImpl(pNewData); 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