Bug 689164 - Disable Style Inspector from Highlighter UI; r=msucan

This commit is contained in:
Rob Campbell 2011-09-26 14:13:22 -03:00
parent 3aa29cdf84
commit 1f2e52b861

View File

@ -700,7 +700,8 @@ InspectorUI.prototype = {
initTools: function IUI_initTools()
{
// Style inspector
if (Services.prefs.getBoolPref("devtools.styleinspector.enabled") &&
// XXX bug 689164, remove /false &&/ from below when bug 689160 fixed.
if (false && Services.prefs.getBoolPref("devtools.styleinspector.enabled") &&
!this.toolRegistered("styleinspector")) {
let stylePanel = StyleInspector.createPanel(true);
this.registerTool({