MCPcopy Create free account
hub / github.com/TeXworks/texworks / maybeEnableSaveAndRevert

Method maybeEnableSaveAndRevert

src/TeXDocumentWindow.cpp:888–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

886}
887
888void TeXDocumentWindow::maybeEnableSaveAndRevert(bool modified)
889{
890 actionSave->setEnabled(modified || untitled());
891 actionRevert_to_Saved->setEnabled(modified && !untitled());
892}
893
894static const char* texshopSynonyms[] = {
895 "MacOSRoman", "Apple Roman",

Callers

nothing calls this directly

Calls 1

setEnabledMethod · 0.80

Tested by

no test coverage detected