Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1219)

Unified Diff: Source/devtools/front_end/elements/ElementsPanel.js

Issue 1221663002: DevTools: [SSP] force StylesSidebarPane refresh on undo/redo command happens. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/devtools/front_end/elements/StylesSidebarPane.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elements/ElementsPanel.js
diff --git a/Source/devtools/front_end/elements/ElementsPanel.js b/Source/devtools/front_end/elements/ElementsPanel.js
index 3b7d95f882fbf044158b54bf2911d6edbb770142..ffe9beb5bde63c9fd53c67ad03fa21975ee5325a 100644
--- a/Source/devtools/front_end/elements/ElementsPanel.js
+++ b/Source/devtools/front_end/elements/ElementsPanel.js
@@ -709,8 +709,10 @@ WebInspector.ElementsPanel.prototype = {
if (!treeOutline.editing()) {
handleUndoRedo.call(null, treeOutline);
- if (event.handled)
+ if (event.handled) {
+ this.sidebarPanes.styles.onUndoOrRedoHappened();
return;
+ }
}
treeOutline.handleShortcut(event);
« no previous file with comments | « no previous file | Source/devtools/front_end/elements/StylesSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698