Commit 28fafcb4 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Make sure the favourite resource provider does have access to the palette

For now
parent d6a762c3
......@@ -795,6 +795,7 @@ QPoint KisCanvas2::documentOffset() const
void KisCanvas2::setFavoriteResourceManager(KisFavoriteResourceManager* favoriteResourceManager)
{
m_d->popupPalette = new KisPopupPalette(favoriteResourceManager, m_d->canvasWidget->widget());
m_d->favoriteResourceManager->setPopupPalette(m_d->popupPalette);
}
void KisCanvas2::setCursor(const QCursor &cursor)
......
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