MCPcopy Create free account
hub / github.com/KDE/kdevelop / disableCommitButton

Method disableCommitButton

plugins/git/simplecommitform.cpp:159–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 m_summaryEdit->setText(txt);
158}
159void SimpleCommitForm::disableCommitButton()
160{
161 m_disabled = true;
162 m_commitBtn->setDisabled(true);
163 m_commitBtn->setToolTip(i18n("Please stage some changes before committing."));
164}
165void SimpleCommitForm::enableCommitButton()
166{
167 m_disabled = false;

Callers 2

CommitToolViewMethod · 0.80
activateProjectMethod · 0.80

Calls 1

setToolTipMethod · 0.80

Tested by

no test coverage detected