Commit e3c413b9 authored by eustas@chromium.org's avatar eustas@chromium.org

DevTools: SourcesPanel: Double-click on watch expression name should start editing.

BUG=

Review URL: https://codereview.chromium.org/702603003

git-svn-id: svn://svn.chromium.org/blink/trunk@184879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent a0c4cca2
......@@ -166,7 +166,8 @@ WebInspector.ObjectPropertyTreeElement.prototype = {
*/
ondblclick: function(event)
{
if ((this.property.writable || this.property.setter) && event.target.isSelfOrDescendant(this.valueElement))
var editableElement = this.elementAndValueToEdit().element;
if ((this.property.writable || this.property.setter) && event.target.isSelfOrDescendant(editableElement))
this.startEditing(event);
return false;
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment