Remove unused variable

This commit is contained in:
David Capello 2019-09-05 17:56:41 -03:00
parent 4acd3675b0
commit 42b1154c25

View File

@ -168,7 +168,7 @@ void UIContext::onSetActiveFrame(const doc::frame_t frame)
void UIContext::onSetSelectedColors(const doc::PalettePicks& picks)
{
if (DocView* docView = activeView()) {
if (activeView()) {
if (ColorBar* colorBar = ColorBar::instance())
colorBar->getPaletteView()->setSelectedEntries(picks);
}