From fd8e8686d59e55419ef24ae14452e5723f69f2e5 Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 15 Dec 2015 19:29:12 -0300 Subject: [PATCH] Fix NewCustomBrushItem construction --- src/app/ui/brush_popup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ui/brush_popup.cpp b/src/app/ui/brush_popup.cpp index 4f205c719..a333d8d2d 100644 --- a/src/app/ui/brush_popup.cpp +++ b/src/app/ui/brush_popup.cpp @@ -277,7 +277,7 @@ void BrushPopup::regenerate(const gfx::Rect& box) m_customBrushes->addItem(new BrushOptionsItem(this, m_delegate, slot)); } - m_customBrushes->addItem(new NewCustomBrushItem, 3, 1); + m_customBrushes->addItem(new NewCustomBrushItem(m_delegate), 3, 1); m_customBrushes->setExpansive(true); m_box.addChild(m_customBrushes);