MCPcopy Create free account
hub / github.com/c3d/tao3D / documentWasModified

Method documentWasModified

tao/window.cpp:1681–1691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1679
1680
1681void Window::documentWasModified()
1682// ----------------------------------------------------------------------------
1683// Record when the document was modified
1684// ----------------------------------------------------------------------------
1685{
1686 // If we're called because we're loading a file, don't set modified state.
1687 // It is useless, and moreover it triggers an error message on Linux:
1688 // "The window title does not contain a '[*]' placeholder"
1689 if (!loadInProgress && !isReadOnly)
1690 setWindowModified(true);
1691}
1692
1693
1694#ifndef CFG_NO_WEBUI

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected