mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Fix bug where palette isn't correctly set when the DocumentView is changed
This commit is contained in:
parent
f4d2b60948
commit
e06bd23b4e
@ -79,6 +79,9 @@ void UIContext::setActiveView(widgets::DocumentView* docView)
|
||||
setActiveDocument(docView ? docView->getDocument(): NULL);
|
||||
|
||||
App::instance()->getMainWindow()->getMiniEditor()->updateUsingEditor(current_editor);
|
||||
|
||||
// Restore the palette of the selected document.
|
||||
app_refresh_screen(docView ? docView->getDocument(): NULL);
|
||||
}
|
||||
|
||||
size_t UIContext::countViewsOf(Document* document) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user