| 1679 | |
| 1680 | |
| 1681 | void 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 |
nothing calls this directly
no outgoing calls
no test coverage detected