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

Resolves: tdf#121641 properties invisible after 'reset'

Change-Id: Iedb2b11be0e008501273925d6ae7137b28c3b912
Reviewed-on: https://gerrit.libreoffice.org/64537
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 9e2e6c27
......@@ -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;
......
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