getColorWindow calling itself, so undisposed windows lying around
Change-Id: I5902c7a677b8b0d3d2891a5f793e5f8e457f25fa
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user