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:
Stefan.Borggraefe%gmx.de 2006-07-27 14:58:47 +00:00
parent b03f03d3cf
commit 8e5b5fe070

View File

@ -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()