MCPcopy Create free account
hub / github.com/KDE/kdiff3 / updateAvailabilities

Method updateAvailabilities

src/StandardMenus.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void StandardMenus::updateAvailabilities()
71{
72 fileSave->setEnabled(allowSave());
73 fileSaveAs->setEnabled(allowSaveAs());
74
75 editUndo->setEnabled(false); //Not yet implemented but planned.
76 editCut->setEnabled(allowCut());
77 editCopy->setEnabled(allowCopy());
78}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected