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

getColorWindow calling itself, so undisposed windows lying around

Change-Id: I5902c7a677b8b0d3d2891a5f793e5f8e457f25fa
üst 9c62e04b
......@@ -3218,7 +3218,6 @@ void SvxColorListBox::EnsurePaletteManager()
m_xPaletteManager.reset(new PaletteManager);
m_xPaletteManager->SetColorSelectFunction(m_aColorWrapper);
m_xPaletteManager->SetLastColor(m_aSelectedColor.first);
SetNoSelection();
}
}
......@@ -3300,6 +3299,7 @@ void SvxColorListBox::createColorWindow()
xFrame,
this,
m_aColorWrapper);
SetNoSelection();
if (m_bShowNoneButton)
m_xColorWindow->ShowNoneButton();
m_xColorWindow->SelectEntry(m_aSelectedColor);
......
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