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

Method onChange

src/app/script/api/entry_script.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 }
30
31 void onChange() override {
32 script::setStorage(text(), id(), m_fileName);
33 if (canRaiseEvent)
34 app::AppScripting::raiseEvent(m_fileName, {id() + "_change"});
35 }
36};
37
38class EntryWidgetScriptObject : public WidgetScriptObject {

Callers

nothing calls this directly

Calls 1

setStorageFunction · 0.85

Tested by

no test coverage detected