MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / updateButtons

Method updateButtons

src/WizPluginDialog.cpp:108–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void WizPluginDialog::updateButtons()
109{
110 ExtensionSystem::PluginSpec *selectedSpec = m_view->currentPlugin();
111 if (selectedSpec) {
112 m_detailsButton->setEnabled(true);
113 m_errorDetailsButton->setEnabled(selectedSpec->hasError());
114 } else {
115 m_detailsButton->setEnabled(false);
116 m_errorDetailsButton->setEnabled(false);
117 }
118}
119
120
121void WizPluginDialog::openDetails()

Callers

nothing calls this directly

Calls 3

currentPluginMethod · 0.80
setEnabledMethod · 0.45
hasErrorMethod · 0.45

Tested by

no test coverage detected