Index: Source/devtools/front_end/ui/SplitView.js |
diff --git a/Source/devtools/front_end/ui/SplitView.js b/Source/devtools/front_end/ui/SplitView.js |
index 2253cfb720e42feb1a91f1032f65e9717287a14f..5ee6b48a4cd14888bedcbe8292ce86f2b7bef742 100644 |
--- a/Source/devtools/front_end/ui/SplitView.js |
+++ b/Source/devtools/front_end/ui/SplitView.js |
@@ -797,7 +797,7 @@ |
_restoreAndApplyShowModeFromSettings: function() |
{ |
var orientationState = this._settingForOrientation(); |
- this._savedShowMode = orientationState && orientationState.showMode ? orientationState.showMode : WebInspector.SplitView.ShowMode.Both; |
+ this._savedShowMode = orientationState && orientationState.showMode ? orientationState.showMode : this._showMode; |
this._showMode = this._savedShowMode; |
switch (this._savedShowMode) { |