| Index: Source/devtools/front_end/InspectorView.js
|
| diff --git a/Source/devtools/front_end/InspectorView.js b/Source/devtools/front_end/InspectorView.js
|
| index f9abed168acb1d5dfae1fcb07ef3adcfd1b08c5f..68adb270f77e350905f624c907c8203abaa75c12 100644
|
| --- a/Source/devtools/front_end/InspectorView.js
|
| +++ b/Source/devtools/front_end/InspectorView.js
|
| @@ -196,6 +196,8 @@ WebInspector.InspectorView.prototype = {
|
| _tabSelected: function()
|
| {
|
| var panelName = this._tabbedPane.selectedTabId;
|
| + if (!panelName)
|
| + return;
|
| var panel = this._panelDescriptors[this._tabbedPane.selectedTabId].panel();
|
| this._tabbedPane.changeTabView(panelName, panel);
|
|
|
| @@ -259,7 +261,7 @@ WebInspector.InspectorView.prototype = {
|
| },
|
|
|
| /**
|
| - * @return {string}
|
| + * @return {?string}
|
| */
|
| selectedViewInDrawer: function()
|
| {
|
|
|