Index: Source/WebCore/inspector/front-end/ScriptsPanel.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/ScriptsPanel.js (revision 145088) |
+++ Source/WebCore/inspector/front-end/ScriptsPanel.js (working copy) |
@@ -1035,6 +1035,7 @@ |
if (!uiSourceCode.project().type() === WebInspector.projectTypes.Snippets) |
return; |
WebInspector.scriptSnippetModel.renameScriptSnippet(uiSourceCode, name); |
+ uiSourceCode.rename(name); |
}, |
/** |