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

Method editScript

plugins/externalscript/externalscriptview.cpp:159–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void ExternalScriptView::editScript()
160{
161 ExternalScriptItem* item = currentItem();
162 if (!item) {
163 return;
164 }
165
166 KDevelop::ScopedDialog<EditExternalScript> dlg(item, this);
167 if (dlg->exec() == QDialog::Accepted) {
168 item->save();
169 }
170}
171
172#include "moc_externalscriptview.cpp"

Callers

nothing calls this directly

Calls 2

execMethod · 0.80
saveMethod · 0.45

Tested by

no test coverage detected