| 157 | } |
| 158 | |
| 159 | void 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" |