mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Remove unused variable
This commit is contained in:
parent
4acd3675b0
commit
42b1154c25
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user