MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / hasModifiedDocuments

Method hasModifiedDocuments

src/app/context.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41bool Context::hasModifiedDocuments() const
42{
43 for (auto doc : documents())
44 if (static_cast<app::Document*>(doc)->isModified())
45 return true;
46 return false;
47}
48
49void Context::executeCommand(const char* commandName)
50{

Callers 1

onExecuteMethod · 0.80

Calls 1

isModifiedMethod · 0.45

Tested by

no test coverage detected