sfx2/source/dialog/dinfdlg.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
New commits: commit 997284391747771288c73d5b52d75b822fe04904 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Dec 4 15:27:54 2018 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Dec 4 20:58:12 2018 +0100 Resolves: tdf#121641 properties invisible after 'reset' Change-Id: Iedb2b11be0e008501273925d6ae7137b28c3b912 Reviewed-on: https://gerrit.libreoffice.org/64537 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 07cd83366b8f..316372ec6f2b 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -1482,7 +1482,10 @@ void CustomPropertiesWindow::dispose() { m_aEditLoseFocusIdle.Stop(); m_aBoxLoseFocusIdle.Stop(); - ClearAllLines(); + + m_aCustomPropertiesLines.clear(); + m_pCurrentLine = nullptr; + m_pHeaderBar.clear(); m_pScrollBar.clear(); m_pHeaderAccName.clear(); @@ -1714,7 +1717,10 @@ bool CustomPropertiesWindow::AreAllLinesValid() const void CustomPropertiesWindow::ClearAllLines() { - m_aCustomPropertiesLines.clear(); + for (auto& pLine : m_aCustomPropertiesLines) + { + pLine->Clear(); + } m_pCurrentLine = nullptr; m_aCustomProperties.clear(); m_nScrollPos = 0; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits