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

Unified Diff: Source/devtools/front_end/components/FilterBar.js

Issue 648263002: DevTools: [Console] checkbox to hide network messages (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix eustas comments Created 6 years, 2 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 | « Source/devtools/front_end/common/Settings.js ('k') | Source/devtools/front_end/console/ConsoleView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/components/FilterBar.js
diff --git a/Source/devtools/front_end/components/FilterBar.js b/Source/devtools/front_end/components/FilterBar.js
index fa2e352522d4a5a1b5f2c6dc252b41a279bca3b1..f7a4769c80915af577d0de8388af9fc98efe934b 100644
--- a/Source/devtools/front_end/components/FilterBar.js
+++ b/Source/devtools/front_end/components/FilterBar.js
@@ -721,7 +721,10 @@ WebInspector.CheckboxFilterUI.prototype = {
setState: function(state)
{
this._checked = state;
- this._update();
+ if (this._setting)
+ this._setting.set(state);
+ else
+ this._update();
},
_update: function()
« no previous file with comments | « Source/devtools/front_end/common/Settings.js ('k') | Source/devtools/front_end/console/ConsoleView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698