Bug 261544: Menu items "Delete host" and "Delete domain" aren't visible when history tree is empty
r+sr=Neil git-svn-id: svn://10.0.0.236/trunk@204908 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b03f03d3cf
commit
8e5b5fe070
@ -110,7 +110,11 @@ function HistoryCommonInit()
|
||||
|
||||
if (gHistoryStatus)
|
||||
gHistoryTree.focus();
|
||||
gHistoryTree.view.selection.select(0);
|
||||
|
||||
if (gHistoryTree.view.rowCount > 0)
|
||||
gHistoryTree.view.selection.select(0);
|
||||
else if (gHistoryStatus)
|
||||
updateHistoryCommands();
|
||||
}
|
||||
|
||||
function HistoryPanelUnload()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user