mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 21:41:02 +00:00
Fix compilation when ENABLE_UI is off
This commit is contained in:
parent
7ce45c0017
commit
a7a9d05de3
@ -419,8 +419,10 @@ void App::run()
|
||||
|
||||
// Destroy all documents from the UIContext.
|
||||
std::vector<Doc*> docs;
|
||||
#ifdef ENABLE_UI
|
||||
for (Doc* doc : m_modules->m_context.closedDocs())
|
||||
docs.push_back(doc);
|
||||
#endif
|
||||
for (Doc* doc : m_modules->m_context.documents())
|
||||
docs.push_back(doc);
|
||||
for (Doc* doc : docs) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user