Index: Source/devtools/front_end/network/NetworkPanel.js |
diff --git a/Source/devtools/front_end/network/NetworkPanel.js b/Source/devtools/front_end/network/NetworkPanel.js |
index d7fd4edd4fb4a143574f62a788d3c19f2745ab59..8c3c6c0152a5709ff8040012de7c45913b4f2964 100644 |
--- a/Source/devtools/front_end/network/NetworkPanel.js |
+++ b/Source/devtools/front_end/network/NetworkPanel.js |
@@ -205,7 +205,7 @@ WebInspector.NetworkPanel.prototype = { |
this._toggleRecordButton(true); |
if (!this._preserveLogCheckbox.checked()) |
this._networkLogView.reset(); |
- if (this._filmStripView) |
+ if (this.isShowing() && this._filmStripView) |
this._filmStripView.startRecording(); |
}, |
@@ -214,7 +214,7 @@ WebInspector.NetworkPanel.prototype = { |
*/ |
_load: function(event) |
{ |
- if (this._filmStripView) |
+ if (this._filmStripView && this._filmStripView.isRecording()) |
setTimeout(this._toggleRecordButton.bind(this, false), 1000); |
}, |